Skip to content

Commit f7cfd13

Browse files
dariuszkucsmyrick
authored andcommitted
add missing NEW_VERSION calculation logic (#270)
1 parent 991c488 commit f7cfd13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis/update-version.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ update_version() {
1313

1414
# Increment the patch version
1515
mvn --settings .travis/settings.xml org.codehaus.mojo:versions-maven-plugin:2.7:set -DnextSnapshot=true
16+
17+
# Pull the value from the pom
18+
NEW_VERSION=$(mvn --settings .travis/settings.xml help:evaluate -Dexpression=project.version -q -DforceStdout)
1619
}
1720

1821
commit_files() {

0 commit comments

Comments
 (0)