Skip to content

Commit 3da4e10

Browse files
authored
Merge pull request #21 from eidng8/dev
trying travis release
2 parents 087b832 + 3f5c63c commit 3da4e10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ script:
2525
before_deploy:
2626
- export TRAVIS_TAG=${TRAVIS_TAG:-$(node -p "require('./package.json').version")-$(date +'%Y.%m.%d')-$(git log --format=%h -1)}
2727
- echo ${TRAVIS_TAG}
28-
- "[[ ${TAGGED} != 1 ]] && git tag ${TRAVIS_TAG} && export TAGGED=1"
29-
- "[[ ! -e dist ]] && npm run build && export PACKAGE=$(npm pack --silent)"
28+
- "if [[ ${TAGGED} != 1 ]]; then git tag ${TRAVIS_TAG} && export TAGGED=1; fi"
29+
- "if [[ ! -e dist ]]; then npm run build && export PACKAGE=$(npm pack --silent); fi"
3030
deploy:
3131
- provider: releases
3232
skip_cleanup: true

0 commit comments

Comments
 (0)