git clone . $tmp/gogost-$release
cd $tmp/gogost-$release
git checkout v$release
-./version > VERSION
+./version >VERSION
go mod vendor
-cat > download.texi <<EOF
+cat >download.texi <<EOF
You can obtain releases source code prepared tarballs on
@url{http://www.gogost.cypherpunks.ru/}.
EOF
}
texi=$(mktemp)
-cat > $texi <<EOF
+cat >$texi <<EOF
\input texinfo
@documentencoding UTF-8
@settitle INSTALL
EOF
mkinfo --output INSTALL $texi
-cat > $texi <<EOF
+cat >$texi <<EOF
\input texinfo
@documentencoding UTF-8
@settitle NEWS
EOF
mkinfo --output NEWS $texi
-cat > $texi <<EOF
+cat >$texi <<EOF
\input texinfo
@documentencoding UTF-8
@settitle FAQ
meta4-create -fn "$tarball" -mtime "$tarball" \
-sig-pgp "$tarball".asc -sig-ssh "$tarball".sig \
http://www.gogost.cypherpunks.ru/"$tarball" \
- http://y.www.gogost.cypherpunks.ru/"$tarball" < "$tarball" > "$tarball".meta4
+ http://y.www.gogost.cypherpunks.ru/"$tarball" <"$tarball" >"$tarball".meta4
size=$(( $(stat -f %z $tarball) / 1024 ))
release_date=$(date "+%Y-%m-%d")