You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by wf...@apache.org on 2014/11/25 21:42:02 UTC

incubator-aurora git commit: Disambiguate tag push from branch push in release script.

Repository: incubator-aurora
Updated Branches:
  refs/heads/master 22dd64115 -> e95aa8ed7


Disambiguate tag push from branch push in release script.

Reviewed at https://reviews.apache.org/r/28447/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/e95aa8ed
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/e95aa8ed
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/e95aa8ed

Branch: refs/heads/master
Commit: e95aa8ed710c18b0cfac573383c8eb055dfed389
Parents: 22dd641
Author: Bill Farner <wf...@apache.org>
Authored: Tue Nov 25 12:41:17 2014 -0800
Committer: Bill Farner <wf...@apache.org>
Committed: Tue Nov 25 12:41:17 2014 -0800

----------------------------------------------------------------------
 build-support/release/release | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/e95aa8ed/build-support/release/release
----------------------------------------------------------------------
diff --git a/build-support/release/release b/build-support/release/release
index a72c308..01a7b7f 100755
--- a/build-support/release/release
+++ b/build-support/release/release
@@ -137,7 +137,8 @@ if [[ $publish == 1 ]]; then
   git commit -m "Updating .auroraversion to release version ${current_version_tag}."
   git push origin "${current_version_tag}"
   git tag -s "${current_version_tag}" -m "Apache Aurora ${current_version_tag} release" ${current_version_tag}
-  git push origin "${current_version_tag}"
+  # Need to disambiguate here, since we already have a local branch ref named for the release.
+  git push origin "refs/tags/${current_version_tag}"
 fi
 
 dist_dir=${base_dir}/dist