Skip to content

Commit f1c173c

Browse files
authored
Merge pull request #17 from eidng8/dev
trying travis release
2 parents 2a23c5d + a892a96 commit f1c173c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ script:
2424

2525
before_deploy:
2626
- export TRAVIS_TAG=${TRAVIS_TAG:-$(node -p "require('./package.json').version")-$(date +'%Y.%m.%d')-$(git log --format=%h -1)}
27-
- git tag ${TRAVIS_TAG}
27+
- [[ ! -e dist ]] && git tag ${TRAVIS_TAG}
28+
- git describe --tags
2829
- npm run build
2930
- export PACKAGE=$(npm pack --silent)
3031
deploy:

0 commit comments

Comments
 (0)