Repository: qpid-proton Updated Branches: refs/heads/kgiusti-python3 e7eb0c579 -> 43a61bb0c
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/22f1bf3c Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/22f1bf3c Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/22f1bf3c Branch: refs/heads/kgiusti-python3 Commit: 22f1bf3ca192d850ee938222474886ad4f14f4a7 Parents: fe3290b Author: Rafael Schloming <[email protected]> Authored: Wed Apr 29 14:55:04 2015 -0400 Committer: Rafael Schloming <[email protected]> Committed: Wed Apr 29 15:36:07 2015 -0400 ---------------------------------------------------------------------- bin/release.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/22f1bf3c/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]
