From 478926497525400288bb90ecc5c3afecf7d09abd Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Mon, 23 Jan 2017 17:37:22 +0100 Subject: [PATCH] [Project] allow creating hotfix from any branch --- hotfix.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hotfix.sh b/hotfix.sh index b053073cc..54b6fa628 100755 --- a/hotfix.sh +++ b/hotfix.sh @@ -2,14 +2,13 @@ # usage if [ $# != 2 ] ; then - echo -e "Usage: ${0} " + echo -e "Usage: ${0} " exit 1 fi # Confirm -releaseVersion="${1}" -releaseBranch="release/${1}" +releaseBranch="${1}" hotfixVersion="${2}" echo -e "INFO: Do you want to make hotfix version ${hotfixVersion} from release branch ${releaseBranch}? y/n" read a