Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

Commit 3920a52

Browse files
Bug Fix: Added project version property in update changelog command
Signed-off-by: Adroaldo Neto <adroaldo.neto@zup.com.br>
1 parent 2178728 commit 3920a52

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ jobs:
5454
env:
5555
CHANGELOG: ${{ steps.properties.outputs.changelog }}
5656
run: |
57-
./gradlew patchChangelog --release-note="$CHANGELOG"
57+
TAG=${{ github.event.release.tag_name }}
58+
TAG="${TAG//v/""}"
59+
./gradlew patchChangelog --release-note="$CHANGELOG" -Dproject_version=$TAG
5860
5961
# Create pull request
6062
- name: Create Pull Request

0 commit comments

Comments
 (0)