This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-parent.git
The following commit(s) were added to refs/heads/master by this push: new 72fab00 Tidy up instructions 72fab00 is described below commit 72fab00ec97d45c6fe443a57db7a7cc6317d6acc Author: Sebb <s...@apache.org> AuthorDate: Thu Jun 18 13:53:57 2020 +0100 Tidy up instructions --- BUILDING.txt | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/BUILDING.txt b/BUILDING.txt index e4774e9..ea3d04b 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -34,20 +34,29 @@ Preparing for release candidate: Creating release candidate tag: ------------------------------ +N.B. This is done in a separate release branch so that the default branch remains a SNAPSHOT version + - Checkout default branch in clean workspace: git clone https://gitbox.apache.org/repos/asf/commons-parent.git commons-parent-<NN>-RC1 - cd commons-parent-<NN>-RC1 +- Update the release branch: + git checkout release + git pull origin release + git pull origin master - Edit version in pom.xml to remove SNAPSHOT suffix -- Edit the SCM tag to point to the future (non-RC) tag: - <connection>scm:git:http://gitbox.apache.org/repos/asf/commons-parent.git</connection> - <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-parent.git</developerConnection> - <url>https://gitbox.apache.org/repos/asf?p=commons-parent.git</url> - <tag>commons-parent-NN</tag> + mvn versions:set -DnewVersion=NN -DgenerateBackupPoms=false +- Update the release notes. These are cumulative, so the new notes must be generated in a temporary file + Generate a temporary file, for example: + mvn changes:announcement-generate -Prelease-notes -Dchanges.version=NN -Dchanges.announcementFile=NN.tmp + Edit the file to tidy it up, and prepend it to RELEASE-NOTES.txt + Remove the temporary file - Create tag the from the updated workspace: - git checkout release - TODO: how to synch release branch git commit -am "Update version numbers for Commons Parent version NN" - git tag -s commons-parent-NN -m "Tag Commons Parent version NN" + + git tag -s commons-parent-NN -m "Tag Commons Parent version NN" [-u keyid] # signed tag + OR + git tag -a commons-parent-NN -m "Tag Commons Parent version NN" + git push --tags Test build of tag: