Skip to content

Fix V06 release availability check - #27

Merged
sufyanaser merged 1 commit into
mainfrom
codex/nasbook-v06-release-fix
Aug 2, 2026
Merged

Fix V06 release availability check#27
sufyanaser merged 1 commit into
mainfrom
codex/nasbook-v06-release-fix

Conversation

@sufyanaser

Copy link
Copy Markdown
Owner

Root cause

The release workflow used gh release view to probe whether v6.0.0 existed. On the current Windows runner, the expected non-zero result for a missing release terminated the PowerShell step before its conditional logic could mark the tag as publishable.

Fix

  • Query the GitHub Releases API with Invoke-WebRequest -SkipHttpErrorCheck.
  • Treat HTTP 200 as an existing release.
  • Treat HTTP 404 as available for publication.
  • Fail closed for all unexpected API status codes.

Verification

  • Lint: passed
  • TypeScript: passed
  • Tests: 61/61 passed
  • Production build: passed
  • Diff/status/log checks: passed

@sufyanaser
sufyanaser merged commit bcf3d49 into main Aug 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant