X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=blobdiff_plain;f=makedist.sh;h=ce8ada0bed5d94bc8aef2073cdcbf68fea7d991e;hp=85d815389b370676f3646eaa5dc3a9688a0869ea;hb=bf96757828d2ae663f5f54147c0e229f74fc9357;hpb=c706387382d4d79d1969a60d64c7674d7966b834 diff --git a/makedist.sh b/makedist.sh index 85d8153..ce8ada0 100755 --- a/makedist.sh +++ b/makedist.sh @@ -77,30 +77,38 @@ 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 <