From 771c42bfbe12f89980ba59c68ad85ec138d9cf68 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Tue, 31 Aug 2021 18:06:37 +0200 Subject: [PATCH] Fix missing GitHub credentials in release pipeline --- ci/pipeline.yml | 2 +- ci/scripts/stage-version.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 9e7fc592..80144882 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -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 diff --git a/ci/scripts/stage-version.sh b/ci/scripts/stage-version.sh index 0b285de0..73c57755 100755 --- a/ci/scripts/stage-version.sh +++ b/ci/scripts/stage-version.sh @@ -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