We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 087b832 + 3f5c63c commit 3da4e10Copy full SHA for 3da4e10
.travis.yml
@@ -25,8 +25,8 @@ script:
25
before_deploy:
26
- export TRAVIS_TAG=${TRAVIS_TAG:-$(node -p "require('./package.json').version")-$(date +'%Y.%m.%d')-$(git log --format=%h -1)}
27
- echo ${TRAVIS_TAG}
28
- - "[[ ${TAGGED} != 1 ]] && git tag ${TRAVIS_TAG} && export TAGGED=1"
29
- - "[[ ! -e dist ]] && npm run build && export PACKAGE=$(npm pack --silent)"
+ - "if [[ ${TAGGED} != 1 ]]; then git tag ${TRAVIS_TAG} && export TAGGED=1; fi"
+ - "if [[ ! -e dist ]]; then npm run build && export PACKAGE=$(npm pack --silent); fi"
30
deploy:
31
- provider: releases
32
skip_cleanup: true
0 commit comments