Repository: ignite-release Updated Branches: refs/heads/master b4e1f5ab0 -> 49787dec4
Obsolete tag removal commented. Not a productions case. Project: http://git-wip-us.apache.org/repos/asf/ignite-release/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite-release/commit/49787dec Tree: http://git-wip-us.apache.org/repos/asf/ignite-release/tree/49787dec Diff: http://git-wip-us.apache.org/repos/asf/ignite-release/diff/49787dec Branch: refs/heads/master Commit: 49787dec466e6d302cc0e1337575b09a86e4f1ed Parents: b4e1f5a Author: Anton Vinogradov <a...@apache.org> Authored: Thu Sep 20 15:04:59 2018 +0300 Committer: Anton Vinogradov <a...@apache.org> Committed: Thu Sep 20 15:04:59 2018 +0300 ---------------------------------------------------------------------- scripts/vote_1[git]create_rc_tag.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite-release/blob/49787dec/scripts/vote_1[git]create_rc_tag.sh ---------------------------------------------------------------------- diff --git a/scripts/vote_1[git]create_rc_tag.sh b/scripts/vote_1[git]create_rc_tag.sh index e642c1b..959ac2a 100644 --- a/scripts/vote_1[git]create_rc_tag.sh +++ b/scripts/vote_1[git]create_rc_tag.sh @@ -3,17 +3,16 @@ chmod +x release.properties . ./release.properties -echo "Preparing vote ${ignite_version}${rc_name}" +echo "Preparing tag ${ignite_version}${rc_name}" cd git -echo "Removing obsolete tag..." -echo $ignite_version -echo $rc_name +git fetch --tags -git fetch --tags -git tag -d $ignite_version$rc_name -git push origin :refs/tags/$ignite_version$rc_name +# Uncomment to remove tag with the same name +# echo "Removing obsolete tag..." +# git tag -d $ignite_version$rc_name +# git push origin :refs/tags/$ignite_version$rc_name git status