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