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 <[email protected]>
---
Only thing I look into HACKING.tex for...  should probably convert it into a
shell script.

(this patch is on master already, just posting since all patches should be on
this list.)
---
 HACKING.tex | 30 +++++++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)

diff --git a/HACKING.tex b/HACKING.tex
index 54931d1..6b27ebf 100644
--- a/HACKING.tex
+++ b/HACKING.tex
@@ -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.* [email protected]:/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
-- 
2.0.4


_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to