Skip to content

Commit 67a35d3

Browse files
committed
ci: adjust tag detection for post-release-templates
1 parent a80de3f commit 67a35d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/post-release-templates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Determine Release Tag
6161
id: determine_tag
6262
run: |
63-
if [ "${{ github.event.release.tag_name }}" != "" ]; then
63+
if [ "${{ github.event_name }}" == "release" ]; then
6464
echo "Using tag from release event: ${{ github.event.release.tag_name }}"
6565
echo "release_tag=${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT"
6666
else

0 commit comments

Comments
 (0)