This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/grails-gradle-publish.git
The following commit(s) were added to refs/heads/main by this push:
new 2313a9b [skip ci] Specify release tag name for `action-gh-release`
2313a9b is described below
commit 2313a9b717b85473b61ec02d0a8bd63ce167870d
Author: Mattias Reichel <[email protected]>
AuthorDate: Fri Oct 10 03:38:03 2025 +0200
[skip ci] Specify release tag name for `action-gh-release`
This helps `action-gh-release` to find the current release instead of
creating a new draft release.
---
.github/workflows/release.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 082ec49..c7d72f8 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -140,6 +140,7 @@ jobs:
- name: "📤 Upload build date, checksums and published artifacts files"
uses: softprops/action-gh-release@v2
with:
+ tag_name: ${{ github.event.release.tag_name }}
files: |
build/BUILD_DATE.txt
build/CHECKSUMS.txt
@@ -216,7 +217,7 @@ jobs:
- name: "🚀 Upload ZIP and Signature to GitHub Release"
uses: softprops/action-gh-release@v2
with:
- tag_name: v${{ needs.publish.outputs.release_version }}
+ tag_name: ${{ github.event.release.tag_name }}
files: |
apache-grails-publish-${{ needs.publish.outputs.release_version
}}-src.zip
apache-grails-publish-${{ needs.publish.outputs.release_version
}}-src.zip.asc
@@ -333,6 +334,7 @@ jobs:
- name: "📤 Upload the Distribution SVN revision file"
uses: softprops/action-gh-release@v2
with:
+ tag_name: ${{ github.event.release.tag_name }}
files: dev-repo/DIST_SVN_REVISION.txt
- name: "📥 Checkout repository"
uses: actions/checkout@v4