Skip to content

Commit e7a2fee

Browse files
committed
no need for grep
1 parent 465eac8 commit e7a2fee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ script:
2525

2626
## Get the project version
2727
before_deploy:
28-
- export CURRENT_VERSION=$(mvn help:evaluate -q -DforceStdout -Dexpression=project.version | grep -v '\[')
28+
- export CURRENT_VERSION=$(mvn help:evaluate -q -DforceStdout -Dexpression=project.version)
2929
- echo CURRENT_VERSION=$CURRENT_VERSION
3030
- export TRAVIS_TAG=$CURRENT_VERSION
3131
- if [[ $TRAVIS_BRANCH != "master" ]]; then git tag $TRAVIS_TAG; fi

0 commit comments

Comments
 (0)