script: Add mtime constant for reproducible Fedora tarball

Changelog-Fixed: Fedora releases are also deterministic now.
This commit is contained in:
ShahanaFarooqui
2025-11-14 19:05:36 -08:00
parent 8fe749e881
commit 616fde5254

View File

@@ -18,7 +18,8 @@ if [ "$1" = "--inside-docker" ]; then
./configure
uv run make -j"$MAKEPAR" VERSION="$VER"
uv run make -j"$MAKEPAR" install DESTDIR=/"$VER-$PLTFM-$PLTFMVER-$ARCH" RUST_PROFILE=release
cd /"$VER-$PLTFM-$PLTFMVER-$ARCH" && tar cvfz /release/clightning-"$VER-$PLTFM-$PLTFMVER-$ARCH".tar.gz -- *
cd /"$VER-$PLTFM-$PLTFMVER-$ARCH"
tar cvfz /release/clightning-"$VER-$PLTFM-$PLTFMVER-$ARCH".tar.gz --mtime='@1672531200' -- *
echo "Inside docker: build finished"
exit 0
fi