From: Stefano Lattarini Date: Thu, 23 Feb 2012 14:40:31 +0000 (+0100) Subject: hacking: update advice w.r.t. release process X-Git-Tag: v1.11b~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05613b2e92b791ff19e15680e44070c002f543a2;p=thirdparty%2Fautomake.git hacking: update advice w.r.t. release process * HACKING: Don't describe the obsolete 'git-release' target anymore. Instead, document the new and improved targets 'git-tag-release' and 'git-upload-release' (introduced in commit v1.11-674-gaf5f939 of 25-01-2012, "release: revamp rules to tag and upload the releases"). --- diff --git a/HACKING b/HACKING index 6b8760ec2..84440a38c 100644 --- a/HACKING +++ b/HACKING @@ -200,12 +200,19 @@ * Run this: ./bootstrap && ./configure && make && make check && make distcheck -* Run "make git-release". - This will run "make dist" to create the tarballs, commit the last - changes to NEWS, configure.ac and m4/amversion.m4, tag the repository, - sign the tarballs, and upload them. - Use "make GNUPLOADFLAGS='--user key' git-release" to sign with - a non-default key. +* Run "make git-tag-release". + This will run the maintainer checks, check that the NEWS file is + up-to-date, check that the local git repository and working tree + are clean and up-to-date, and create a proper signed git tag for + the release (based on the contents of $(VERSION)). + +* Run "make git-upload-release". + This will first verify that you are releasing from a tagged version + and that the local git repository and working tree are clean and + up-to-date, and will then run "make dist" to create the tarballs, + and invoke the 'gnupload' script sign and upload them to the correct + locations. In case you need to sign with a non-default key, you can + use "make GNUPLOADFLAGS='--user KEY' git-upload-release". * Update version number in configure.ac to next alpha number. Re-run ./bootstrap and commit.