File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,15 @@ node_js:
44before_script :
55- npm install
66script : gulp test
7+ after_success :
8+ # CREATE GIT TAG
9+ -
git config --global user.email "[email protected] " 10+ - git config --global user.name "Travis CI"
11+ - export GIT_TAG=build-$TRAVIS_BRANCH-$(date -u "+%Y-%m-%d")-$TRAVIS_BUILD_NUMBER
12+ - echo -n $GIT_TAG > public/version
13+ - git commit -m "Set build VERSION number" public/version
14+ - git tag $GIT_TAG -a -m "Generated tag from TravisCI build $TRAVIS_BUILD_NUMBER"
15+ -
git push --quiet https://[email protected] /Microsoft/PowerBI-JavaScript $GIT_TAG > /dev/null 2>&1 716deploy :
817 provider : releases
918 api_key :
@@ -16,3 +25,6 @@ deploy:
1625skip_cleanup : true
1726 on :
1827 tags : true
28+ branches :
29+ except :
30+ - /^build-[0-9a-z\-]*/
You can’t perform that action at this time.
0 commit comments