[Project] allow creating hotfix from any branch
This commit is contained in:
parent
02a8f9d3ef
commit
4789264975
|
@ -2,14 +2,13 @@
|
||||||
|
|
||||||
# usage
|
# usage
|
||||||
if [ $# != 2 ] ; then
|
if [ $# != 2 ] ; then
|
||||||
echo -e "Usage: ${0} <release_version> <hotfix_version>"
|
echo -e "Usage: ${0} <release_branch> <hotfix_version>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Confirm
|
# Confirm
|
||||||
releaseVersion="${1}"
|
releaseBranch="${1}"
|
||||||
releaseBranch="release/${1}"
|
|
||||||
hotfixVersion="${2}"
|
hotfixVersion="${2}"
|
||||||
echo -e "INFO: Do you want to make hotfix version ${hotfixVersion} from release branch ${releaseBranch}? y/n"
|
echo -e "INFO: Do you want to make hotfix version ${hotfixVersion} from release branch ${releaseBranch}? y/n"
|
||||||
read a
|
read a
|
||||||
|
|
Loading…
Reference in New Issue