From 6855612f7d2c80390ebc6712c185b52054783988 Mon Sep 17 00:00:00 2001 From: David Dunn Date: Mon, 27 Nov 2017 11:39:49 +0000 Subject: [PATCH] Update github token for travis --- ci/release.sh | 4 ++-- ci/update.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/release.sh b/ci/release.sh index 96173e4..a26221c 100755 --- a/ci/release.sh +++ b/ci/release.sh @@ -20,7 +20,7 @@ REPOSITORY=KituraKit LAST_COMMIT_MESSAGE="$( git log -1 --pretty=%B )" git remote rm origin -git remote add origin https://SwiftDevOps:${GH_TOKEN}@github.com/IBM-Swift/KituraKit +git remote add origin https://SwiftDevOps:${GITHUB_TOKEN}@github.com/IBM-Swift/KituraKit git fetch git checkout master @@ -35,7 +35,7 @@ update_tag() { echo "Tagging version: v$1" ## Create New Tag / Release of latest code on master - curl -u SwiftDevOps:${GH_TOKEN} --data '{"tag_name": "'"v$1"'", + curl -u SwiftDevOps:${GITHUB_TOKEN} --data '{"tag_name": "'"v$1"'", "target_commitish": "master", "name": "'"v$1"'", "body": "'"$LAST_COMMIT_MESSAGE"'", diff --git a/ci/update.sh b/ci/update.sh index b4f9b72..7c44756 100755 --- a/ci/update.sh +++ b/ci/update.sh @@ -51,7 +51,7 @@ rm $SWIFT_SNAPSHOT-$UBUNTU_VERSION.tar.gz # Actions after Swift installation git remote rm origin -git remote add origin https://SwiftDevOps:${GH_TOKEN}@github.com/IBM-Swift/KituraKit +git remote add origin https://SwiftDevOps:${GITHUB_TOKEN}@github.com/IBM-Swift/KituraKit git fetch git checkout pod git pull origin master