Commit 560243a
committed
fix(ci): use workflow_dispatch tag input for GitHub Release tag_name
When triggered via workflow_dispatch, github.ref_name is the branch
name (main), not the tag. The release was being attached to a ghost
'main' release instead of the intended v0.7.0 release.
Use github.event.inputs.tag || github.ref_name to correctly resolve
the tag in all three trigger modes (push tag, release published,
workflow_dispatch).1 parent 76a2c55 commit 560243a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
0 commit comments