Skip to content

Switch to PR-based release flow#8

Merged
colinrozzi merged 1 commit intomainfrom
pr-based-release
Apr 28, 2026
Merged

Switch to PR-based release flow#8
colinrozzi merged 1 commit intomainfrom
pr-based-release

Conversation

@colinrozzi
Copy link
Copy Markdown
Owner

Summary

  • nix run .#release -- patch now creates a release PR instead of pushing tags directly
  • Publish workflow triggers on merge to main when Cargo.toml version changes
  • CI detects version bump, runs tests, publishes all crates in order, creates git tag + GitHub release
  • Works with branch protection (no direct push to main needed)

Release flow

nix run .#release -- patch    # bumps 0.4.0 -> 0.4.1, creates PR
                               # review + merge
                               # CI: detect version change -> test -> publish -> tag -> release

Test plan

  • nix flake check passes

🤖 Generated with Claude Code

@colinrozzi colinrozzi merged commit 8893e04 into main Apr 28, 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