From fb5320a5374674a01ab904c1d018a77f3599ced8 Mon Sep 17 00:00:00 2001 From: cathugger Date: Mon, 22 Jan 2024 05:08:12 +0000 Subject: [PATCH] gpg TZ --- contrib/release-scripts/release.sh | 4 ++-- contrib/release-scripts/sign.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/release-scripts/release.sh b/contrib/release-scripts/release.sh index 55fb703..caf57f4 100755 --- a/contrib/release-scripts/release.sh +++ b/contrib/release-scripts/release.sh @@ -72,8 +72,8 @@ export PATH=$OPATH cd "$D/out" tar --portability --no-acls --no-selinux --no-xattrs --owner root:0 --group=root:0 --sort=name -c -f $SV-src.tar $SV -zopfli -c $SV-src.tar > $SV-src.tar.gz -zstd -19 -f $SV-src.tar -o $SV-src.tar.zst +zopfli -i100 -c $SV-src.tar > $SV-src.tar.gz +zstd -19 -f $SV-src.tar -o $SV-src.tar.zst rm $SV-src.tar zip -9 -X -r $SV-w32.zip $SV-w32 diff --git a/contrib/release-scripts/sign.sh b/contrib/release-scripts/sign.sh index 597e89c..2253276 100755 --- a/contrib/release-scripts/sign.sh +++ b/contrib/release-scripts/sign.sh @@ -10,6 +10,8 @@ D=$(realpath "$0") D=$(dirname "$D") cd "$D" +export TZ=UTC + cd out gpg --detach-sign -u "$1" mkp224o-*-src.tar.gz