File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/bash -x
2
2
#
3
3
# This script creates a new local issue branch for the given issue id.
4
4
# Previous changes are stashed before the issue branch is created and are reapplied after branch creation.
@@ -24,7 +24,7 @@ OLD_VERSION_TMP=$(mvn -o org.apache.maven.plugins:maven-help-plugin:2.1.1:evalua
24
24
OLD_POM_VERSION=${OLD_VERSION_TMP:? " Could not extract current project version from pom.xml" }
25
25
26
26
# Replaces BUILD in BUILD-SNAPSHOT with the given TICKET_ID
27
- NEW_POM_VERSION=${OLD_POM_VERSION/ " BUILD " / $ TICKET_ID }
27
+ NEW_POM_VERSION=${OLD_POM_VERSION/ " -SNAPSHOT " / " - ${ TICKET_ID} -SNAPSHOT " }
28
28
ISSUE_BRANCH=" issue/$TICKET_ID "
29
29
30
30
echo " Creating feature branch $TICKET_ID : $OLD_POM_VERSION -> $NEW_POM_VERSION "
You can’t perform that action at this time.
0 commit comments