From 571c8cfc9b7345326b335b86bd7122683d36b855 Mon Sep 17 00:00:00 2001 From: Marcus Da Coregio Date: Thu, 20 Jul 2023 11:11:26 -0300 Subject: [PATCH] Include Version in Commit Message Issue gh-138 --- .github/workflows/update-spring-boot-version.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-spring-boot-version.yml b/.github/workflows/update-spring-boot-version.yml index 63f1a02..d8b9ac9 100644 --- a/.github/workflows/update-spring-boot-version.yml +++ b/.github/workflows/update-spring-boot-version.yml @@ -12,6 +12,8 @@ jobs: - uses: actions/checkout@v3 - name: Update Spring Boot Version run: ./update-spring-boot-version.sh + - name: Extract Version + run: echo "MINOR_VERSION=$(cat versions.properties | grep springBootVersion | cut -d'=' -f2)" >> $GITHUB_ENV - uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: "Update Spring Boot Version" + commit_message: "Update Spring Boot Version to ${{ env.MINOR_VERSION }}"