blob: 015d67fcd3666fabade8c1f33fe5c45760c845a2 [file] [log] [blame]
#!/usr/bin/env bash
chmod +x release.properties
. ./release.properties
echo "Preparing tag ${ignite_version}${rc_name}"
cd git
git fetch --tags
# 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
echo "Creating new tag..."
git tag -a $ignite_version$rc_name -m "${ignite_version}${rc_name}"
git push origin $ignite_version$rc_name
echo " "
echo "======================================================"
echo "RC tag should be created."
echo "Please check results at "
echo "https://gitbox.apache.org/repos/asf?p=ignite.git;a=tags"