Skip to content
Bitcoin Roots

v29.4-roots.4 · Commit 7: [PATCH 07/37] release: establish Roots maintenance and assurance

contrib/guix/libexec/build.sh

Before: contrib/guix/libexec/build.sh · After: contrib/guix/libexec/build.sh

File metadata
index 389706a8cf479bffcc4d6bc645f6d155dd145312..6d9afb5f5553c690087e4b379d51daaa049b0910 100755

Download original patch · Release notes

Diff rows 1–9 of 9. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

contrib/guix/libexec/build.sh CHANGED
@@ -196,7 +196,8 @@ GIT_ARCHIVE="${DIST_ARCHIVE_BASE}/${DISTNAME}.tar.gz"
196
  # Create the source tarball if not already there
197
  if [ ! -e "$GIT_ARCHIVE" ]; then
198
  mkdir -p "$(dirname "$GIT_ARCHIVE")"
199
- git archive --prefix="${DISTNAME}/" --output="$GIT_ARCHIVE" HEAD
 
200
  fi
201
 
202
  mkdir -p "$OUTDIR"
 
196
  # Create the source tarball if not already there
197
  if [ ! -e "$GIT_ARCHIVE" ]; then
198
  mkdir -p "$(dirname "$GIT_ARCHIVE")"
199
+ REFERENCE_DATETIME="@${SOURCE_DATE_EPOCH}" \
200
+ contrib/guix/libexec/make_release_tarball.sh "$GIT_ARCHIVE" "$DISTNAME"
201
  fi
202
 
203
  mkdir -p "$OUTDIR"