X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=9f81f9fa1f6faecbbdd05f6fdf50efc0ce96bcf8;hb=2cea0c64b5a0240bfe6746a98a5b350812edb96d;hp=e891eca22527f9d04310ab02e98ffd8fe5bc3481;hpb=a698abb36d3ab6fa380660ffdf9863dcd47df2ff;p=goredo.git diff --git a/makedist.sh b/makedist.sh index e891eca..9f81f9f 100755 --- a/makedist.sh +++ b/makedist.sh @@ -8,9 +8,9 @@ release=$1 git clone . $tmp/goredo-$release cd $tmp/goredo-$release git checkout v$release +go generate -redo-ifchange module-name VERSION -mod_name=`cat module-name` +redo-ifchange VERSION ######################################################################## cd doc @@ -49,87 +49,75 @@ EOF perl -i -p -e "s/.verbatiminclude .*PUBKEY.asc/Look in PUBKEY.asc file./" install.texi mkinfo --output INSTALL $texi +cat > $texi < $tmp/includes < "$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 ------------------------ @@ -150,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