Attempt to fix apparently erroneous "ERROR: .. tag exists." error
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/ff970560 Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/ff970560 Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/ff970560 Branch: refs/heads/master Commit: ff97056054f6c41f9fd827bd94123f5027ead83f Parents: e444315 Author: Dave Johnson <[email protected]> Authored: Wed Nov 19 13:55:04 2014 +0100 Committer: Dave Johnson <[email protected]> Committed: Wed Nov 19 13:55:04 2014 +0100 ---------------------------------------------------------------------- release/release.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/ff970560/release/release.sh ---------------------------------------------------------------------- diff --git a/release/release.sh b/release/release.sh index e991970..5fd89ae 100755 --- a/release/release.sh +++ b/release/release.sh @@ -113,7 +113,7 @@ else fi # Make sure the tag does not exist -if git rev-parse --tags=$current_version >/dev/null 2>&1; then +if git rev-parse $current_version >/dev/null 2>&1; then echo "ERROR: ${current_version} tag exists." exit 1 fi @@ -190,9 +190,6 @@ echo MESSAGE=$(cat <<__EOF__ To: [email protected] Subject: [RESULT][VOTE] Release Apache Usergrid ${current_version} (incubating) RC#{rc_tag_version} - -All, -The vote to accept Apache Usergrid ${current_version} RC#{rc_tag_version} as the official Apache Usegrid ${current_version} release has passed.
