Skip to content

Commit ed605be

Browse files
jancurnclaude
andauthored
Fix release action: remove invalid --target flag from gh release create (#114)
The --target flag was passing the tag name (e.g. "v0.2.0") as target_commitish, which GitHub API rejects with HTTP 422. Since the tag is already pushed before this step runs, gh release create automatically resolves the tag's commit. https://claude.ai/code/session_019YFSdMW7TobZNsmey63CYm Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0925f5b commit ed605be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,5 +223,4 @@ jobs:
223223
VERSION="${{ steps.release.outputs.version }}"
224224
gh release create "v${VERSION}" \
225225
--title "v${VERSION}" \
226-
--generate-notes \
227-
--target "v${VERSION}"
226+
--generate-notes

0 commit comments

Comments
 (0)