Skip to content

Commit

Permalink
mvn version regex change
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis97519 committed Mar 20, 2018
1 parent 7b19aad commit 14fd57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: java
before_deploy:
#https://stackoverflow.com/questions/3545292/how-to-get-maven-project-version-to-the-bash-command-line
- export VER=$(mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version|grep -Ev "(^\[|Download\w+:)")
- export VER=$(mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version|grep -Ev "(^\[|Download|Progress)")
- mvn package
- git config --local user.name "dennis97519"
- git config --local user.email "[email protected]"
Expand Down

0 comments on commit 14fd57b

Please sign in to comment.