File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ script:
2121 - npm run test:e2e
2222 # - chmod u+x ./release.sh
2323 # - ./release.sh
24- - export TRAVIS_TAG=${TRAVIS_TAG:-$(node -p "require('./package.json').version")-$(date +'%Y.%m.%d')-$(git log --format=%h -1)}
25- - " [[ ${TRAVIS_EVENT_TYPE} == push ]] && git tag ${TRAVIS_TAG} && git describe --tags"
2624
2725before_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"
2829 - " [[ ! -e dist ]] && npm run build && export PACKAGE=$(npm pack --silent)"
2930deploy :
3031 - provider : releases
@@ -35,7 +36,7 @@ deploy:
3536 on :
3637 repo : eidng8/vue-tree
3738 branch : master
38- tags : true
39+ # tags: true
3940 condition : ${TRAVIS_EVENT_TYPE} == push
4041 - provider : npm
4142 skip_cleanup : true
You can’t perform that action at this time.
0 commit comments