]> Cypherpunks.ru repositories - gocheese.git/blobdiff - makedist
Download link for 4.0.0 release
[gocheese.git] / makedist
index 1a5bdbd594b18609cd1606e2e0cfb606becee4d8..81a4854052d222b58955cf52a6f1d6305fe0bd70 100755 (executable)
--- a/makedist
+++ b/makedist
@@ -41,15 +41,12 @@ mkinfo --output ../INSTALL $texi
 rm $texi
 cd ..
 
-rm -rf .git .gitignore doc/.gitignore doc/style.css makedist.sh doc/www.do VERSION.do
+rm -rf .git .gitignore doc/.gitignore doc/style.css makedist doc/www.do VERSION.do
 redo-cleanup full
-perl -i -npe "s/go} build/go} build -mod=vendor/" gocheese.do
-perl -i -npe "s/go} test/go} test -mod=vendor/" test.do
-cp ~/work/redo/apenwarr/minimal/do contrib/do
 
 find . -type d -exec chmod 755 {} +
 find . -type f -exec chmod 644 {} +
-chmod +x contrib/pyshop2packages.sh contrib/do
+chmod +x contrib/pyshop2packages.sh
 
 cd ..
 tar cvf gocheese-"$release".tar --uid=0 --gid=0 --numeric-owner gocheese-"$release"
@@ -58,9 +55,9 @@ tarball=gocheese-"$release".tar.zst
 gpg --detach-sign --sign --local-user CD5CD01F55343D88 $tarball
 gpg --enarmor < "$tarball".sig |
     sed "/^Comment:/d ; s/ARMORED FILE/SIGNATURE/" > "$tarball".asc
-meta4-create -file "$tarball" -mtime "$tarball" -sig "$tarball".asc \
+meta4-create -fn "$tarball" -mtime "$tarball" -sig "$tarball".asc \
     http://www.gocheese.cypherpunks.ru/download/"$tarball" \
-    http://y.www.gocheese.cypherpunks.ru/download/"$tarball" > "$tarball".meta4
+    http://y.www.gocheese.cypherpunks.ru/download/"$tarball" < "$tarball" > "$tarball".meta4
 
 size=$(( $(stat -f %z $tarball) / 1024 ))
 hash=$(gpg --print-md SHA256 < $tarball)
@@ -68,12 +65,10 @@ release_date=$(date "+%Y-%m-%d")
 
 cat <<EOF
 An entry for documentation:
-@item $release @tab $release_date @tab $size KiB
-@tab
-    @url{download/gocheese-${release}.tar.zst.meta4, meta4}
-    @url{download/gocheese-${release}.tar.zst, link}
-    @url{download/gocheese-${release}.tar.zst.sig, sig}
-@tab @code{$hash}
+@item $release @tab $release_date @tab $size KiB @tab
+@url{download/gocheese-${release}.tar.zst.meta4, meta4}
+@url{download/gocheese-${release}.tar.zst, link}
+@url{download/gocheese-${release}.tar.zst.sig, sig}
 EOF
 
 mv $tmp/$tarball $tmp/"$tarball".sig $tmp/"$tarball".meta4 $cur/doc/gocheese.html/download