]> Cypherpunks.ru repositories - pygost.git/blobdiff - makedist.sh
Add PEP-396 compatible module's __version__
[pygost.git] / makedist.sh
index 2693bd259a4fdd6b3649f85a9bfe7ad8840ba37a..0089141260343cec647c9cf705bfcea3e927a5c0 100755 (executable)
@@ -9,10 +9,10 @@ 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 E6FD1269CD0C009E pygost-"$release".tar.xz
+gpg --detach-sign --sign --local-user pygost@cypherpunks.ru pygost-"$release".tar.xz
 
 tarball=pygost-"$release".tar.xz
-size=$(( $(wc -c < $tarball) / 1024 ))
+size=$(( $(stat -f %z $tarball) / 1024 ))
 hash=$(gpg --print-md SHA256 < $tarball)
 hashsb=$($HOME/work/gogost/streebog256 < $tarball)
 release_date=$(date "+%Y-%m-%d")