Updated Branches: refs/heads/master 5e615ff92 -> c9e430bc9
Updated the release script to not sign the tag It appears that creating the release and stripping the release branch of its new development version is not that great: several times the release artifacts were created not from the tag but from the dev version. The script now shows the commands to issue post release build for the signing of the release tag. Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/c9e430bc Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/c9e430bc Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/c9e430bc Branch: refs/heads/master Commit: c9e430bc92c59da894bee38f10af16bc722387c8 Parents: 5e615ff Author: Martijn Dashorst <[email protected]> Authored: Fri Oct 19 15:20:00 2012 +0200 Committer: Martijn Dashorst <[email protected]> Committed: Fri Oct 19 15:20:00 2012 +0200 ---------------------------------------------------------------------- release-dashorst.sh | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/c9e430bc/release-dashorst.sh ---------------------------------------------------------------------- diff --git a/release-dashorst.sh b/release-dashorst.sh index 1c3e92b..39bcbc7 100755 --- a/release-dashorst.sh +++ b/release-dashorst.sh @@ -175,12 +175,12 @@ fi # this needs to be done before signing the tag otherwise the snapshot version # is tagged -echo "Rollback the last commit of the release plugin" -git reset HEAD^ --hard >> $log +#echo "Rollback the last commit of the release plugin" +#git reset HEAD^ --hard >> $log -echo "Sign the tag" +#echo "Sign the tag" # TODO the git tag --sign doesn't utilize the gpg-agent for some reason -git tag --sign --force --message "Signed release tag for Apache Wicket $version" $tag >> $log +#git tag --sign --force --message "Signed release tag for Apache Wicket $version" $tag >> $log echo "Performing the release using Maven" mvn -Dgpg.passphrase="$passphrase" -ff -l $log release:perform -DlocalCheckout=true -Dtag=$tag @@ -251,6 +251,13 @@ echo "" echo " git push origin $branch:refs/heads/$branch" echo "" +echo "To sign the release tag issue the following three commands: " +echo "" +echo " git checkout $tag" +echo " git tag --sign --force --message \"Signed release tag for Apache Wicket $version\" $tag >> $log" +echo " git checkout $branch" +echo "" + mvn_version_to_replace="$major_version.$minor_version.1-SNAPSHOT" next_dev_version="$major_version.$(expr $minor_version + 1).0-SNAPSHOT"
