X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=ce8ada0bed5d94bc8aef2073cdcbf68fea7d991e;hb=34af0e4ad73fb149c9db2c00b0dcc544838a2df2;hp=7889d49e01726b8829ab44f6ff9902d25a21021c;hpb=89cfc56cd7a844fc51475c5817b3b531ba6130d1;p=goredo.git diff --git a/makedist.sh b/makedist.sh index 7889d49..ce8ada0 100755 --- a/makedist.sh +++ b/makedist.sh @@ -72,47 +72,51 @@ modvendor -v -copy="**/*_test.go **/private-gen.go **/main.go **/vectors.json ** rm -rf vendor/golang.org/x/sys/plan9 vendor/golang.org/x/sys/windows find vendor/golang.org/x/sys -name "*_test.go" -delete find . \( -name .gitignore -o -name .travis.yml \) -delete - -rm vendor/lukechampine.com/blake3/cpu_darwin.go -sed -n -i.tmp '3,$p' vendor/lukechampine.com/blake3/cpu.go -rm vendor/lukechampine.com/blake3/cpu.go.tmp - 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 ------------------------ @@ -133,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