Fix GitHub authentication using token

This commit is contained in:
Stephane Nicoll
2021-08-22 08:53:11 +02:00
parent 745adfb6f5
commit bb4a2aa10f
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ anchors:
git-repo-resource-source: &git-repo-resource-source
uri: ((github-repo))
username: ((github-username))
password: ((github-password))
password: ((github-ci-release-token))
branch: ((branch))
registry-image-resource-source: &registry-image-resource-source
username: ((docker-hub-username))

View File

@@ -19,7 +19,7 @@ echo "Staging $stageVersion (next version will be $nextVersion)"
set_revision_to_pom "$stageVersion"
git config user.name "Spring Buildmaster" > /dev/null
git config user.email "buildmaster@springframework.org" > /dev/null
git config user.email "spring-buildmaster@users.noreply.github.com" > /dev/null
git add pom.xml > /dev/null
git commit -m"Release v$stageVersion" > /dev/null
git tag -a "v$stageVersion" -m"Release v$stageVersion" > /dev/null