Skip to content

Commit 616fde5

Browse files
script: Add mtime constant for reproducible Fedora tarball
Changelog-Fixed: Fedora releases are also deterministic now.
1 parent 8fe749e commit 616fde5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/build-release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ if [ "$1" = "--inside-docker" ]; then
1818
./configure
1919
uv run make -j"$MAKEPAR" VERSION="$VER"
2020
uv run make -j"$MAKEPAR" install DESTDIR=/"$VER-$PLTFM-$PLTFMVER-$ARCH" RUST_PROFILE=release
21-
cd /"$VER-$PLTFM-$PLTFMVER-$ARCH" && tar cvfz /release/clightning-"$VER-$PLTFM-$PLTFMVER-$ARCH".tar.gz -- *
21+
cd /"$VER-$PLTFM-$PLTFMVER-$ARCH"
22+
tar cvfz /release/clightning-"$VER-$PLTFM-$PLTFMVER-$ARCH".tar.gz --mtime='@1672531200' -- *
2223
echo "Inside docker: build finished"
2324
exit 0
2425
fi

0 commit comments

Comments
 (0)