From 166a976e31171f7587f042befe1269cd0a589c15 Mon Sep 17 00:00:00 2001 From: Alexey Kopytko Date: Tue, 19 Mar 2019 00:43:55 +0900 Subject: [PATCH] Push with GITHUB_TOKEN --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8e0c966718..b497af3df5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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://$GITHUB_TOKEN@github.com/$TRAVIS_REPO_SLUG cache: directories: