diff --git a/.travis.yml b/.travis.yml index f50f9ac55..0c3ef1149 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ branches: before_install: - nvm install 7 - - OLD_VERSION=`mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download\w+:)"` + - OLD_VERSION=`mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download)"` - NEW_VERSION=${OLD_VERSION%-SNAPSHOT}-dev-`printf %d $TRAVIS_BUILD_NUMBER` - export NEW_VERSION - echo "Building version $NEW_VERSION" @@ -60,4 +60,4 @@ after_success: > ./update-cli.sh fi after_script: - - rm -rf $HOME/.m2/repository/org/teavm \ No newline at end of file + - rm -rf $HOME/.m2/repository/org/teavm