Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
borgogelli authored Oct 28, 2020
1 parent 9fab4d4 commit eabf5ed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jdk: # see https://docs.travis-ci.com/user/reference/bionic/#jvm-clojure-groovy-

env: # see https://docs.travis-ci.com/user/environment-variables/
# - TRAVIS_TAG="getdown-1.5.1"
- TRAVIS_TAG="v1.5.1"
- TRAVIS_TAG="getdown-1.5.1"

install: true # Without that statement, Travis will run 'mvn install' on pom.xml before the script step.

Expand All @@ -30,8 +30,9 @@ before_deploy:
# - git config --local user.name ${GIT_USER_NAME}
# - git config --local user.email ${GIT_USER_EMAIL}
# - export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)}
#- git tag $TRAVIS_TAG
#- git tag $TRAVIS_TAG
- echo "TRAVIS_TAG = ${TRAVIS_TAG}"
- git tag -d ${TRAVIS_TAG}

deploy: # see https://docs.travis-ci.com/user/deployment/releases/
provider: releases
Expand All @@ -40,5 +41,5 @@ deploy: # see https://docs.travis-ci.com/user/deployment/releases/
overwrite: true
skip_cleanup: true # otherwise Travis CI will delete all the files created during the build, which will probably delete what you are trying to upload.
on:
branch: getdown-1.5.1 # see https://docs.travis-ci.com/user/deployment#Conditional-Releases-with-on
branch: getdown-1.5.x # see https://docs.travis-ci.com/user/deployment#Conditional-Releases-with-on

0 comments on commit eabf5ed

Please sign in to comment.