[HUDI-249] Fix cut_release_branch script
This commit is contained in:
@@ -105,12 +105,12 @@ fi
|
|||||||
|
|
||||||
git commit -am "Moving to ${NEXT_VERSION_IN_BASE_BRANCH}-SNAPSHOT on master branch."
|
git commit -am "Moving to ${NEXT_VERSION_IN_BASE_BRANCH}-SNAPSHOT on master branch."
|
||||||
|
|
||||||
#if git push origin ${MASTER_BRANCH}; then
|
if git push origin ${MASTER_BRANCH}; then
|
||||||
# break
|
break
|
||||||
#else
|
else
|
||||||
# clean_up
|
clean_up
|
||||||
# exit
|
exit
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
# Checkout and update release branch - Add incubating and remove snapshot
|
# Checkout and update release branch - Add incubating and remove snapshot
|
||||||
git checkout ${RELEASE_BRANCH}
|
git checkout ${RELEASE_BRANCH}
|
||||||
@@ -133,6 +133,6 @@ if [[ $confirmation != "y" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
git commit -am "Create release branch for version ${RELEASE}."
|
git commit -am "Create release branch for version ${RELEASE}."
|
||||||
#git push --set-upstream origin ${RELEASE_BRANCH}
|
git push --set-upstream origin ${RELEASE_BRANCH}
|
||||||
|
|
||||||
clean_up
|
clean_up
|
||||||
|
|||||||
Reference in New Issue
Block a user