From 4a252644043f4768a04b35d1b8c4957c5c7c4c65 Mon Sep 17 00:00:00 2001 From: Eleftheria Stein Date: Tue, 29 Mar 2022 12:17:47 +0200 Subject: [PATCH] Stage changes before committing in release pipeline Issue gh-11020 --- .github/workflows/release-next-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-next-version.yml b/.github/workflows/release-next-version.yml index 133fd0f351..c760a9970d 100644 --- a/.github/workflows/release-next-version.yml +++ b/.github/workflows/release-next-version.yml @@ -96,7 +96,7 @@ jobs: ./gradlew :updateProjectVersion ./gradlew :spring-security-docs:antoraUpdateVersion updatedVersion=$(cat gradle.properties | grep "version=" | awk -F'=' '{print $2}') - git commit -m "Release $updatedVersion" + git commit -am "Release $updatedVersion" git push notify_result: name: Check for failures