Skip to content

Commit 2a6e9f2

Browse files
jacderidaclaude
andcommitted
ci: fix GitHub release creation for workflow_dispatch triggers
The softprops/action-gh-release action defaults to GITHUB_REF for the tag, which only works on tag push events. On workflow_dispatch, there is no tag ref, so the action fails with "GitHub Releases requires a tag". Pass tag_name explicitly from the validated version output. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7890437 commit 2a6e9f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ jobs:
394394
- name: Create GitHub Release
395395
uses: softprops/action-gh-release@v2
396396
with:
397+
tag_name: ${{ needs.validate.outputs.version }}
397398
name: Autonomi Node ${{ needs.validate.outputs.version }}
398399
body: |
399400
## Autonomi Node ${{ needs.validate.outputs.version }}

0 commit comments

Comments
 (0)