Fix CalVer tag detection to use GitHub API #30

Merged
grams777 merged 1 commit from fix-calver-tagging into main 2026-02-22 07:24:25 +00:00
grams777 commented 2026-02-22 07:22:45 +00:00 (Migrated from github.com)

Summary

  • Tags created by gh release create are server-side only — git tag --list doesn't see them even with fetch-tags: true
  • Switches to gh api to list existing tags, so the build number increments correctly
  • Fixes the 422 error on PR #29 merge (tried to create v2026.0222.1 when it already existed)

Test plan

  • Merge this PR — should create v2026.0222.2 (incrementing past the existing .1)

🤖 Generated with Claude Code

## Summary - Tags created by `gh release create` are server-side only — `git tag --list` doesn't see them even with `fetch-tags: true` - Switches to `gh api` to list existing tags, so the build number increments correctly - Fixes the 422 error on PR #29 merge (tried to create `v2026.0222.1` when it already existed) ## Test plan - [ ] Merge this PR — should create `v2026.0222.2` (incrementing past the existing `.1`) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No description provided.