X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=c4aaf2b3500c916c31d7e07bda6e86a78c74f701;hb=3cf0663da82b0537cecfdd6738bc6933e471819f;hp=bd0e84d1b9d0147b1dc096a39ad95df6a9a751ee;hpb=9de1d1a456eb3b639d8f230f231a3f7d9cea3902;p=pygost.git diff --git a/makedist.sh b/makedist.sh index bd0e84d..c4aaf2b 100755 --- a/makedist.sh +++ b/makedist.sh @@ -9,10 +9,15 @@ 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" \ + http://y.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 +26,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 <