Skip to content

ci(release): gate build jobs behind release creation#8

Merged
Lythaeon merged 1 commit into
mainfrom
fix/release-ci-draft-gate
Feb 15, 2026
Merged

ci(release): gate build jobs behind release creation#8
Lythaeon merged 1 commit into
mainfrom
fix/release-ci-draft-gate

Conversation

@Lythaeon

Copy link
Copy Markdown
Owner

Summary

  • check GitHub release state (published vs draft) when resolving release tags
  • add a prepare-release job that ensures a draft release exists before binaries/publish jobs run
  • make build/publish depend on prepare-release and finalize by updating the draft release with artifacts

Risk Notes

  • release resolution now calls GitHub Releases API and relies on GITHUB_TOKEN API access
  • if release preparation fails, binary builds are intentionally blocked

Validation

  • reviewed job dependency graph and conditions in .github/workflows/release.yml
  • verified diff only touches release workflow behavior

@Lythaeon Lythaeon merged commit 9fc7725 into main Feb 15, 2026
1 check passed
@Lythaeon Lythaeon deleted the fix/release-ci-draft-gate branch February 15, 2026 17:46
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