Repository: qpid-proton Updated Branches: refs/heads/0.9.x 611cfa495 -> df9fc10ee
Update release script to specify version and tag seperately. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/6cb0422d Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/6cb0422d Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/6cb0422d Branch: refs/heads/0.9.x Commit: 6cb0422d384688fb43082593f160040452fd5717 Parents: 611cfa4 Author: Rafael Schloming <[email protected]> Authored: Wed Apr 29 14:55:04 2015 -0400 Committer: Rafael Schloming <[email protected]> Committed: Wed Apr 29 14:55:04 2015 -0400 ---------------------------------------------------------------------- bin/release.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/6cb0422d/bin/release.sh ---------------------------------------------------------------------- diff --git a/bin/release.sh b/bin/release.sh index 984d7d5..474eb56 100755 --- a/bin/release.sh +++ b/bin/release.sh @@ -27,12 +27,13 @@ SRC=$(dirname $(dirname $(readlink -f $0))) usage() { - echo "Usage: ${ME} VERSION" + echo "Usage: ${ME} VERSION TAG" exit 1 } -if [ $# == 1 ]; then +if [ $# == 2 ]; then VERSION=$1 + TAG=$2 else usage fi @@ -60,6 +61,6 @@ die() fi bin/version.sh $VERSION git commit -a -m "Release $VERSION" - git tag -m "Release $VERSION" $VERSION - echo "Run 'git push ${REMOTE} ${VERSION}' to push the release upstream." + git tag -m "Release $VERSION" $TAG + echo "Run 'git push ${REMOTE} ${TAG}' to push the tag upstream." ) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
