tweak release script, add signing one
This commit is contained in:
parent
7f714ee4f7
commit
4e98a931f4
@ -7,6 +7,8 @@ D=$(realpath "$0")
|
||||
D=$(dirname "$D")
|
||||
cd "$D"
|
||||
|
||||
export TZ=UTC
|
||||
|
||||
mkdir -p build
|
||||
|
||||
export WINEARCH=win64
|
||||
@ -66,13 +68,11 @@ export PATH=$OPATH
|
||||
|
||||
# compress stuff
|
||||
cd "$D/out"
|
||||
export TZ=UTC
|
||||
|
||||
tar --portability --no-acls --no-selinux --no-xattrs --owner root:0 --group=root:0 --sort=name -c -f $SV.tar $SV
|
||||
zopfli -c $SV.tar > $SV.tar.gz
|
||||
zstd -19 -f $SV.tar -o $SV.tar.zst
|
||||
rm $SV.tar
|
||||
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
|
||||
rm $SV-src.tar
|
||||
|
||||
zip -9 -X -r $SV-w32.zip $SV-w32
|
||||
zip -9 -X -r $SV-w64.zip $SV-w64
|
||||
|
||||
|
18
contrib/release-scripts/sign.sh
Executable file
18
contrib/release-scripts/sign.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ x"$1" = x ]
|
||||
then
|
||||
echo "Usage: $0 key-id" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
D=$(realpath "$0")
|
||||
D=$(dirname "$D")
|
||||
cd "$D"
|
||||
|
||||
cd out
|
||||
|
||||
gpg --detach-sign -u "$1" mkp224o-*-src.tar.gz
|
||||
gpg --detach-sign -u "$1" mkp224o-*-src.tar.zst
|
||||
gpg --detach-sign -u "$1" mkp224o-*-w32.zip
|
||||
gpg --detach-sign -u "$1" mkp224o-*-w64.zip
|
Loading…
Reference in New Issue
Block a user