Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
Prevent Travis deploy error on tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
vovtz committed Aug 6, 2019
1 parent 808de63 commit 09e6d7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: java
jdk: openjdk8
before_deploy:
- git fetch --tags
- mvn help:evaluate -N -Dexpression=project.version|grep -v '\['
- export project_version=$(mvn help:evaluate -N -Dexpression=project.version | grep -v '\[')
deploy:
Expand Down

0 comments on commit 09e6d7f

Please sign in to comment.