mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-05 07:22:33 +02:00
Conditional git tag command in travis
This commit is contained in:
parent
0631fd2ef7
commit
4378141d7d
|
@ -18,7 +18,8 @@ before_deploy:
|
|||
- git config --global user.name "koalyptus"
|
||||
- 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"
|
||||
- echo -n $TRAVIS_TAG
|
||||
- test $TRAVIS_TAG != $GIT_TAG && git tag $GIT_TAG -am "Generated tag from TravisCI build $TRAVIS_BUILD_NUMBER"
|
||||
deploy:
|
||||
provider: releases
|
||||
on:
|
||||
|
|
Loading…
Reference in a new issue