diff --git a/.travis.yml b/.travis.yml index cf4a273..867af56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ before_install: mvn package -DskipTests=true -DbuildNumber=$TRAVIS_BUILD_NUMBER before_deploy: - git config --local user.name "$USER_NAME" - git config --local user.email "$USER_EMAIL" - - export GIT_TAG=v1.0.$TRAVIS_BUILD_NUMBER + - export GIT_TAG=1.0.$TRAVIS_BUILD_NUMBER - git tag $GIT_TAG -a -m "Generated tag from TravisCI build $TRAVIS_BUILD_NUMBER" - git push origin $GIT_TAG @@ -18,8 +18,8 @@ deploy: provider: releases api_key: $GITHUB_TOKEN file: - - target/tweetsched-dto-v1.0.$TRAVIS_BUILD_NUMBER.jar - name: tweetsched-dto-v1.0.$TRAVIS_BUILD_NUMBER + - target/tweetsched-dto-1.0.$TRAVIS_BUILD_NUMBER.jar + name: tweetsched-dto-1.0.$TRAVIS_BUILD_NUMBER skip-cleanup: true on: tags: true