build: list actual release procedure

As in a few other places in HACKING.tex, the text doesn't quite reflect
reality.  Add the actual release procedure including a few more steps,
and warn about autoconf's subdirectory behaviour.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit ec62e1438ece9af0546f9028aa1403f2c84bf177)
This commit is contained in:
David Lamparter 2015-03-07 08:40:56 +01:00 committed by Daniel Walton
parent b71cd0fc49
commit 76a12162f9

View File

@ -308,16 +308,36 @@ using the srcdir variable.
build:
\begin{verbatim}
git-clone git:///code.quagga.net/quagga.git quagga
git-archive --remote=git://code.quagga.net/quagga.git \
--prefix=quagga-release/ master | tar -xf -
cd quagga-release
vim configure.ac
git commit -m "release: 0.99.99.99"
git tag -u 54CD2E60 quagga-0.99.99.99
git push savannah tag quagga-0.99.99.99
git archive --prefix=quagga-release/ quagga-0.99.99.99 | tar xC /tmp
git log quagga-0.99.99.98..quagga-0.99.99.99 > \
/tmp/quagga-release/quagga-0.99.99.99.changelog.txt
cd /tmp/quagga-release
autoreconf -i
./configure
make
make dist
make dist-gzip
gunzip < quagga-0.99.99.99.tar.gz > quagga-0.99.99.99.tar
xz -6e < quagga-0.99.99.99.tar > quagga-0.99.99.99.tar.xz
gpg -u 54CD2E60 -a --detach-sign quagga-0.99.99.99.tar
scp quagga-0.99.99.99.* username@dl.sv.nongnu.org:/releases/quagga
\end{verbatim}
Do NOT do this in a subdirectory of the Quagga sources, autoconf will think
it's a sub-package and fail to include neccessary files.
\item Add the version number on https://bugzilla.quagga.net/, under
Administration, Products, "Quagga", Edit versions, Add a version.
\item Edit the wiki on https://wiki.quagga.net/wiki/index.php/Release\_status
\item Post a news entry on Savannah
\item Send a mail to quagga-dev and quagga-users
\end{itemize}
The tarball which `make dist' creates is the tarball to be released! The