From 5a8c3a9dae5f56c3f92b90572d4863dd7c97c07d Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Thu, 16 Feb 2017 22:20:49 +0300 Subject: [PATCH] Replace `build` version suffix with 'dev' --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 760bd6ab3..dd9eedfa7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ env: - MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m" before_install: - OLD_VERSION=`mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download\w+:)"` - - NEW_VERSION=${OLD_VERSION%-SNAPSHOT}-build-`printf %05d $TRAVIS_BUILD_NUMBER` + - NEW_VERSION=${OLD_VERSION%-SNAPSHOT}-dev-`printf %d $TRAVIS_BUILD_NUMBER` - echo "Building version $NEW_VERSION" - mvn versions:set -DnewVersion=$NEW_VERSION script: >