]> Cypherpunks.ru repositories - nncp.git/blobdiff - makedist.sh
nncp-xfer compares the checksum
[nncp.git] / makedist.sh
index 03fdbb9b4baf9560e7e60b65ded0a4deba837523..3d00aed205835b4d31da2276fd18afadcc9add6c 100755 (executable)
@@ -26,7 +26,7 @@ rm -r \
     golang.org/x/sys/plan9 \
     golang.org/x/sys/windows
 find github.com/klauspost/compress golang.org/x/sys -name "*_test.go" -delete
-find . -type d -exec rmdir {} + || :
+find . -type d -exec rmdir {} + 2>/dev/null || :
 cd ../..
 rm -r ports
 find . \( \
@@ -128,6 +128,7 @@ gpg --enarmor < "$tarball".sig |
     sed "/^Comment:/d ; s/ARMORED FILE/SIGNATURE/" > "$tarball".asc
 meta4-create -file "$tarball" -mtime "$tarball" -sig "$tarball".asc \
     http://www.nncpgo.org/download/"$tarball" \
+    http://y.www.nncpgo.org/download/"$tarball" \
     https://nncp.mirrors.quux.org/download/"$tarball" > "$tarball".meta4
 
 size=$(( $(stat -f %z $tarball) / 1024 ))
@@ -195,6 +196,9 @@ http://www.nncpgo.org/Mirrors.html
 Please send questions regarding the use of NNCP, bug reports and patches
 to mailing list: http://lists.cypherpunks.ru/nncp_002ddevel.html
 EOF
+echo mutt -s \"[EN] NNCP $release release announcement\" \
+    nncp-devel@lists.cypherpunks.ru \
+    -a $cur/doc/download/"$tarball".meta4
 
 cat <<EOF
 Subject: [RU] Состоялся релиз NNCP $release
@@ -248,3 +252,6 @@ http://www.nncpgo.org/Mirrors.html
 и патчи отправляйте в nncp-devel почтовую рассылку:
 http://lists.cypherpunks.ru/nncp_002ddevel.html
 EOF
+echo mutt -s \"[RU] Состоялся релиз NNCP $release\" \
+    nncp-devel@lists.cypherpunks.ru \
+    -a $cur/doc/download/"$tarball".meta4