Skip to content

Commit

Permalink
Push with GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Mar 18, 2019
1 parent 6b6d443 commit 166a976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ jobs:
script:
- ./find-next-version 2>&1
- git log $(git describe --tags --abbrev=0)..HEAD --oneline src
- git log $(git describe --tags --abbrev=0)..HEAD --oneline src | grep -q . && git tag -a "$(./find-next-version)" -m "Automatic release"
- git log $(git describe --tags --abbrev=0)..HEAD --oneline src | grep -q . && git tag -a "$(./find-next-version)" -m "Automatic release for build $TRAVIS_BUILD_NUMBER"
deploy:
provider: script
on:
branch: master
tags: false
script: git push --tags
script: git push --tags https://[email protected]/$TRAVIS_REPO_SLUG

cache:
directories:
Expand Down

0 comments on commit 166a976

Please sign in to comment.