]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
doc: tweak announce-gen invocation HACKING.
authorKarl Berry <karl@freefriends.org>
Wed, 3 Jul 2024 15:33:59 +0000 (08:33 -0700)
committerKarl Berry <karl@freefriends.org>
Wed, 3 Jul 2024 15:33:59 +0000 (08:33 -0700)
* HACKING: generalize gnulib/build-aux/announce-gen invocation.

HACKING

diff --git a/HACKING b/HACKING
index 737af6d13b12f27706da347ef7d7accd2965afa2..085ebcee58467086434a6980986914afd5a96062 100644 (file)
--- a/HACKING
+++ b/HACKING
 
 * Create the automated part of the announcement with the announce-gen
   script that is part of gnulib:
+    pkg=automake
     prever=1.16.92
     newver=1.16.94
-    gpgkey=0x7FD9FCCB000BEEEE #  gpg --fingerprint
-    $gnulib/build-aux/announce-gen --release-type=alpha \
-      --package-name=automake --previous-version=$prever \
+    reltype=alpha # or beta or stable
+    host=`if test $reltype = stable; then echo ftp; else echo alpha; fi`
+    gpgkey=0x... #  gpg --fingerprint
+    $gnulib/build-aux/announce-gen --release-type=$reltype \
+      --package-name=$pkg --previous-version=$prever \
       --current-version=$newver --gpg-key-id=$gpgkey \
-      --url-directory=https://alpha.gnu.org/gnu/automake
+      --url-directory=https://$host.gnu.org/gnu/$pkg
   and merge this with the just-written announcement file.
 
 * Run "make git-tag-release".