Skip to content

feat: branch-per-major release model#80

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

feat: branch-per-major release model#80
MuncleUscles merged 1 commit into
v0.29from
feat/release-flow-v029

Conversation

@MuncleUscles
Copy link
Copy Markdown
Member

Mirrors genlayer-js#172 / genlayer-py#78 / genlayer-cli#311.

Branches per major (v0.29 today), no main, releases via scripts/release.sh + Claude skill, publish.yml only fires on tag push.

Semver-zero: 0.x means minor IS major. Script refuses minor/major without --allow-major.

This PR also replaces the old .claude/CLAUDE.md 'CI auto-releases, DON'T touch versions' guidance with the new 'use the release skill' guidance — the old policy is obsolete after this change.

After merge: switch default branch to v0.29, delete origin/main.

Mirrors genlayer-js#172 / genlayer-py#78 — branches per major (v0.29
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 (semver-zero: 0.29 → 0.30 is a major
  bump). Uses python-semantic-release with explicit version, which
  also updates glsim/__init__.py per existing releaserc.toml config.
- .claude/skills/release/SKILL.md: documents the flow.
- .claude/CLAUDE.md: replaced "CI auto-releases — DON'T touch versions"
  guidance with the new "use the release skill" guidance.
- .github/e2e-track: main → v0.5.
- CONTRIBUTING.md: branch model + semver-zero + release pointer.

Follow-up: switch default branch to v0.29, delete origin/main, same
shape applied to remaining tooling repo (genlayer-explorer).
@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: 46b01857-9aaf-4cd7-bc5a-5bee7ba609a0

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-v029

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 311e22a into v0.29 May 22, 2026
3 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