Skip to content

Commit

Permalink
merge bitcoin#28757: Zip needs to include all files and set time to S…
Browse files Browse the repository at this point in the history
…OURCE_DATE_EPOCH
  • Loading branch information
kwvg committed Jan 3, 2025
1 parent 122a61f commit c501a0d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contrib/guix/libexec/codesign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ mkdir -p "$DISTSRC"
signapple apply dist/Dash-Qt.app codesignatures/osx/dist

# Make a .zip from dist/
zip "${OUTDIR}/${DISTNAME}-${HOST}.zip" dist/*
cd dist/
find . -print0 \
| xargs -0r touch --no-dereference --date="@${SOURCE_DATE_EPOCH}"
find . | sort \
| zip -X@ "${OUTDIR}/${DISTNAME}-${HOST}.zip"
;;
*)
exit 1
Expand Down

0 comments on commit c501a0d

Please sign in to comment.