507e8633eb
* fix: skip duplicate release gracefully when tag already exists Replace inline exit-1 tag check with a dedicated check-tag job that uses the GitHub API. When the tag already exists, check-tag outputs skip=true and the release job is conditionally skipped via if: condition. Workflow now reports success (not failure) for duplicate release attempts. Fixes #30 (partial) — resolves the tag-already-exists failure mode. Co-Authored-By: Hugh Hackman <hugh@privilegedescalation.io> * fix: use curl instead of gh CLI in check-tag job for portability gh CLI may not be pre-installed on ARC runners. curl is always available in container images. Avoids potential startup failure if gh binary is absent. Co-Authored-By: Paperclip <noreply@paperclip.ing> * fix: drop -f flag from curl in check-tag to avoid exit on 404 With -f, curl exits non-zero when the tag does not exist (404). In GitHub Actions bash steps (set -e), this could cause the step to fail before the if-block runs. Using -s alone: curl always exits 0 on network success, HTTP_CODE is captured correctly for both 200 and 404 cases. Co-Authored-By: Paperclip <noreply@paperclip.ing> --------- Co-authored-by: Hugh Hackman <hugh@privilegedescalation.io> Co-authored-by: Paperclip <noreply@paperclip.ing>