X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=blobdiff_plain;f=makedist.sh;h=ce8ada0bed5d94bc8aef2073cdcbf68fea7d991e;hp=4eef737eabb067f709953a6084a41e1f8cc39547;hb=bf96757828d2ae663f5f54147c0e229f74fc9357;hpb=f941d7cb340205d0ef3ec333d56c37d4a3fa5e6f diff --git a/makedist.sh b/makedist.sh index 4eef737..ce8ada0 100755 --- a/makedist.sh +++ b/makedist.sh @@ -77,34 +77,46 @@ cd .. ######################################################################## rm -rf *.texi .redo .git .gitignore doc makedist.sh VERSION.do -find . -type d -exec chmod 755 {} \; -find . -type f -exec chmod 644 {} \; +find . -type d -exec chmod 755 {} + +find . -type f -exec chmod 644 {} + +find t/redo-sh.tests -name test -exec chmod +x {} + +find t -name wrapper.rc -exec chmod +x {} + +chmod +x t/apenwarr/sleep t/goredo-*.t cd .. tar cvf goredo-"$release".tar --uid=0 --gid=0 --numeric-owner goredo-"$release" zstd -19 -v goredo-"$release".tar -gpg --detach-sign --sign --local-user 3A528DDE952C7E93 goredo-"$release".tar.zst - tarball=goredo-"$release".tar.zst +gpg --detach-sign --sign --local-user 3A528DDE952C7E93 "$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.goredo.cypherpunks.ru/download/"$tarball" > "$tarball".meta4 + size=$(( $(stat -f %z $tarball) / 1024 )) hash=$(gpg --print-md SHA256 < $tarball) release_date=$(date "+%Y-%m-%d") +release_underscored=`echo $release | tr . _` cat <8 ------------------------ @@ -125,5 +137,5 @@ GPG key ID: 0x3A528DDE952C7E93 goredo releases Fingerprint: 7531 BB84 FAF0 BF35 960C 63B9 3A52 8DDE 952C 7E93 Please send questions regarding the use of goredo, bug reports and patches -to mailing list: https://lists.cypherpunks.ru/pipermail/goredo-devel/ +to mailing list: http://lists.cypherpunks.ru/goredo_002ddevel.html EOF