[Project] allow creating hotfix from any branch

This commit is contained in:
Robert von Burg 2017-01-23 17:37:22 +01:00
parent 02a8f9d3ef
commit 4789264975
1 changed files with 2 additions and 3 deletions

View File

@ -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