X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=44b2586fdf61d0e8e8239182334401cc83f7ec05;hb=ade04d6c0456bb39793e8b3547ac99aeffe8af73;hp=bd0e84d1b9d0147b1dc096a39ad95df6a9a751ee;hpb=9de1d1a456eb3b639d8f230f231a3f7d9cea3902;p=pygost.git diff --git a/makedist.sh b/makedist.sh index bd0e84d..44b2586 100755 --- a/makedist.sh +++ b/makedist.sh @@ -9,10 +9,14 @@ pip_hash=$(pip hash dist/pygost-"$release".tar.gz | sed -n '$p') cp dist/pygost-"$release".tar.gz $tmp cd $tmp gunzip pygost-"$release".tar.gz -xz -9 pygost-"$release".tar -gpg --detach-sign --sign --local-user pygost@cypherpunks.ru pygost-"$release".tar.xz +zstd -19 -v pygost-"$release".tar +tarball=pygost-"$release".tar.zst +gpg --detach-sign --sign --local-user pygost@cypherpunks.ru "$tarball" +gpg --enarmor < "$tarball".sig | + sed "/^Comment:/d ; s/ARMORED FILE/SIGNATURE/" > "$tarball".asc +meta4-create -file "$tarball" -mtime "$tarball" -sig "$tarball".asc \ + http://www.pygost.cypherpunks.ru/"$tarball" > "$tarball".meta4 -tarball=pygost-"$release".tar.xz size=$(( $(stat -f %z $tarball) / 1024 )) hash=$(gpg --print-md SHA256 < $tarball) hashsb=$($HOME/work/gogost/streebog256 < $tarball) @@ -21,7 +25,10 @@ release_date=$(date "+%Y-%m-%d") cat < Please send questions regarding the use of PyGOST, bug reports and patches -to mailing list: https://lists.cypherpunks.ru/mailman/listinfo/gost +to mailing list: http://lists.cypherpunks.ru/gost.html EOF cat <