Commit 3436f95
committed
error cuz of how the tag name is passed to the actions/create-release@v1 action. GitHub Actions workflows typically reference the tag as refs/tags/v1.0.0, but the actions/create-release expects just the tag name (e.g., v1.0.0), without the refs/tags/ prefix.
this can be fixed by stripping the refs/tags/ part from the github.ref when creating the release. Here’s how to modify the workflow to handle this correctly.1 parent d76c6d2 commit 3436f95
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments