Do not apply TESTING/STABLE update to 2.11 branch.
This commit is contained in:
@@ -221,13 +221,17 @@ if [ $# -gt 0 ] ; then
|
|||||||
tagname=RELEASE_`echo $version | tr . _ | tr '[:lower:]' '[:upper:]' | tr -d -`
|
tagname=RELEASE_`echo $version | tr . _ | tr '[:lower:]' '[:upper:]' | tr -d -`
|
||||||
echo "* Tagging release as $tagname"
|
echo "* Tagging release as $tagname"
|
||||||
git tag -a -m "Released $version" $tagname $branch
|
git tag -a -m "Released $version" $tagname $branch
|
||||||
if echo $version | grep '[a-z_-]' ; then
|
if echo $version | grep -q '^2\.11\.' ; then
|
||||||
mark_as_release $branch TESTING
|
echo '* 2.11 branch, no STABLE/TESTING update'
|
||||||
else
|
else
|
||||||
# We update both branches here
|
if echo $version | grep '[a-z_-]' ; then
|
||||||
# As it does not make sense to have older testing than stable
|
mark_as_release $branch TESTING
|
||||||
mark_as_release $branch TESTING
|
else
|
||||||
mark_as_release $branch STABLE
|
# We update both branches here
|
||||||
|
# As it does not make sense to have older testing than stable
|
||||||
|
mark_as_release $branch TESTING
|
||||||
|
mark_as_release $branch STABLE
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
echo " Dont forget to push tags using: git push --tags"
|
echo " Dont forget to push tags using: git push --tags"
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user