1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-04-27 12:31:58 +02:00

travis: git tags automation (7)

This commit is contained in:
koalyptus 2018-04-22 20:42:53 +10:00
parent 73fc78e9e3
commit 934ba4add0

View file

@ -14,7 +14,11 @@ branches:
- /^greenkeeper/.*$/
- gh-pages
before_deploy:
- git tag $(node -p -e "require('./package.json').version")
- git config --global user.email "builds@travis-ci.com"
- git config --global user.name "Travis CI"
- export GIT_TAG=$(node -p -e "require('./package.json').version")
- echo -n $GIT_TAG
- git tag $GIT_TAG -am "Generated tag from TravisCI build $TRAVIS_BUILD_NUMBER"
deploy:
provider: releases
api_key: