Skip to content

feat: branch-per-major release model#78

Merged
MuncleUscles merged 1 commit into
v0.18from
feat/release-flow-v018
May 22, 2026
Merged

feat: branch-per-major release model#78
MuncleUscles merged 1 commit into
v0.18from
feat/release-flow-v018

Conversation

@MuncleUscles
Copy link
Copy Markdown
Member

Mirrors genlayer-js#172 — branches per major (v0.18 today), no main, releases via scripts/release.sh + Claude skill, publish.yml only fires on tag push.

Semver-zero note: this package is on 0.x, so minor IS the breaking-change boundary. The script refuses minor/major keywords without --allow-major.

Same change shape as the JS PR. After merge: switch default branch to v0.18, delete origin/main.

Mirrors genlayer-js#172 — branches per major (v0.18 today), no main,
releases via scripts/release.sh + Claude skill, publish.yml only fires
on tag push.

What changes:
- publish.yml: trigger `push: main` → `push: tags v*`. The workflow no
  longer runs python-semantic-release in CI; it sanity-checks
  tag == pyproject.toml version, builds, publishes to PyPI, cuts the
  GitHub Release.
- scripts/release.sh: new release entry point. Refuses minor/major
  bumps without --allow-major because we're on 0.x (semver-zero: minor
  is the breaking-change boundary). Uses python-semantic-release with
  an explicit version + --no-push --no-vcs-release so it just bumps,
  changelogs, commits, and tags locally; the script pushes branch + tag
  explicitly.
- .claude/skills/release/SKILL.md: documents the flow for Claude.
- .github/e2e-track: main → v0.5 (runner's current stable matrix track).
- CONTRIBUTING.md: branch model + semver-zero note + release pointer.

Follow-up (separate PRs):
- Switch default branch to v0.18, delete origin/main.
- Same shape for genlayer-cli, genlayer-testing-suite, genlayer-explorer.
- Runner matrix v0.5.yaml: genlayer-py pin switches from v0.18.0 tag to
  v0.18 branch.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 21, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0fa916ec-47df-4e96-b82e-ef301025a0ef

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/release-flow-v018

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@MuncleUscles MuncleUscles merged commit 88ad157 into v0.18 May 22, 2026
4 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