8 git clone . $tmp/gocheese-$release
9 cd $tmp/gocheese-$release
10 git checkout v$release
16 cat > doc/download.texi <<EOF
17 You can obtain releases source code prepared tarballs on
18 @url{http://www.gocheese.cypherpunks.ru/}.
20 redo doc/gocheese.info
24 ${MAKEINFO:=makeinfo} --plaintext \
25 --set-customization-variable SECTION_NAME_IN_TITLE=1 \
26 --set-customization-variable TREE_TRANSFORMATIONS=complete_tree_nodes_menus \
27 --set-customization-variable ASCII_PUNCTUATION=1 \
28 -D "VERSION `cat ../VERSION`" $@
34 @documentencoding UTF-8
39 perl -i -p -e "s/.verbatiminclude ...PUBKEY.asc/Look in PUBKEY.asc file./" install.texi
40 mkinfo --output ../INSTALL $texi
44 rm -rf .git .gitignore doc/.gitignore doc/style.css makedist doc/www.do VERSION.do
47 find . -type d -exec chmod 755 {} +
48 find . -type f -exec chmod 644 {} +
49 chmod +x contrib/pyshop2packages.sh
52 tar cvf gocheese-"$release".tar --uid=0 --gid=0 --numeric-owner gocheese-"$release"
53 zstd -19 -v gocheese-"$release".tar
54 tarball=gocheese-"$release".tar.zst
55 gpg --detach-sign --sign --local-user CD5CD01F55343D88 $tarball
56 gpg --enarmor < "$tarball".sig |
57 sed "/^Comment:/d ; s/ARMORED FILE/SIGNATURE/" > "$tarball".asc
58 meta4-create -file "$tarball" -mtime "$tarball" -sig "$tarball".asc \
59 http://www.gocheese.cypherpunks.ru/download/"$tarball" \
60 http://y.www.gocheese.cypherpunks.ru/download/"$tarball" > "$tarball".meta4
62 size=$(( $(stat -f %z $tarball) / 1024 ))
63 hash=$(gpg --print-md SHA256 < $tarball)
64 release_date=$(date "+%Y-%m-%d")
67 An entry for documentation:
68 @item $release @tab $release_date @tab $size KiB
70 @url{download/gocheese-${release}.tar.zst.meta4, meta4}
71 @url{download/gocheese-${release}.tar.zst, link}
72 @url{download/gocheese-${release}.tar.zst.sig, sig}
76 mv $tmp/$tarball $tmp/"$tarball".sig $tmp/"$tarball".meta4 $cur/doc/gocheese.html/download