Fix missing GitHub credentials in release pipeline

This commit is contained in:
Brian Clozel
2021-08-31 18:06:37 +02:00
parent 0c17ad59bf
commit 771c42bfbe
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ resources:
source:
uri: ((github-repo))
username: ((github-username))
password: ((github-password))
password: ((github-ci-release-token))
branch: ((branch))
- name: ci-images-git-repo
type: git

View File

@@ -29,8 +29,8 @@ fi
echo "Staging $stageVersion (next version will be $nextVersion)"
sed -i "s/version=$snapshotVersion/version=$stageVersion/" gradle.properties
git config user.name "Spring Buildmaster" > /dev/null
git config user.email "buildmaster@springframework.org" > /dev/null
git config user.name "Spring Builds" > /dev/null
git config user.email "spring-builds@users.noreply.github.com" > /dev/null
git add gradle.properties > /dev/null
git commit -m"Release v$stageVersion" > /dev/null
git tag -a "v$stageVersion" -m"Release v$stageVersion" > /dev/null