X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=9f81f9fa1f6faecbbdd05f6fdf50efc0ce96bcf8;hb=0030b3e73152bf9d9ad3e435fa42e607c7865321;hp=ad38c99d3c3a8c021ede575b8b2a9c554fb71be5;hpb=3ad09b01e78cc63612629e435bce6506e05d9253;p=goredo.git diff --git a/makedist.sh b/makedist.sh index ad38c99..9f81f9f 100755 --- a/makedist.sh +++ b/makedist.sh @@ -8,6 +8,7 @@ release=$1 git clone . $tmp/goredo-$release cd $tmp/goredo-$release git checkout v$release +go generate redo-ifchange VERSION @@ -77,37 +78,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 t/redo-sh.tests -name test -exec chmod +x {} \+ -find t -name wrapper.rc -exec chmod +x {} \+ +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 ------------------------ @@ -128,5 +138,9 @@ 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 + +echo mutt -s \"goredo $release release announcement\" \ + goredo-devel@lists.cypherpunks.ru \ + -a $cur/doc/goredo.html/download/"$tarball".meta4