Skip to content

Commit

Permalink
Update github token for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
David Dunn committed Nov 27, 2017
1 parent 7ea46e1 commit 6855612
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ci/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"'",
Expand Down
2 changes: 1 addition & 1 deletion ci/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6855612

Please # to comment.