Explorar el Código

Include Version in Commit Message

Issue gh-138
Marcus Da Coregio hace 2 años
padre
commit
571c8cfc9b
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      .github/workflows/update-spring-boot-version.yml

+ 3 - 1
.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 }}"