Skip to content

ci: release from master only, retire develop - #343

Merged
adrienlacombe merged 1 commit into
masterfrom
claude/trunk-on-master
Oct 21, 2026
Merged

adrienlacombe merged 1 commit into
masterfrom
claude/trunk-on-master

Conversation

@adrienlacombe

Copy link
Copy Markdown
Collaborator

Summary

From now on, master is the only long-lived branch. develop has been retired.

Running develop → npm next alongside master → latest meant every promotion needed a fresh version bump: versions published to next can never be published again. That's the workaround #319, #340 and #342 needed.

Changes

  • release.yml: only triggers on master. The "Create Develop Release" step is removed.
  • pr.yml: PR CI only runs for PRs targeting master.
  • package.json: the publish:next script is removed.
  • README.md: new "Releasing" section. Open PRs against master, add a changeset, then merge the version bump PR to publish to latest.

No published package changes, so this has no changeset.

State at the time of this PR

  • develop and master have identical trees after chore: merge master back into develop after 6.1.1 #342. develop is master plus one merge commit, so deleting it loses nothing.
  • No open PRs target develop.
  • npm next matches latest on all seven packages: 6.1.1 for discovery, wallets, virtual-wallet and wallet-standard, and 6.1.0 for core, modal and ui.

After merge (repo admin)

  • Delete the develop branch.
  • The development branch ruleset targets refs/heads/development, which doesn't exist, so it never protected develop. It can be deleted.
  • npm next stops moving after this, so it will fall behind latest on the next release. Either remove it (npm dist-tag rm <pkg> next) or add a manual snapshot workflow later if pre-releases are needed.

Test plan

  • Both workflow files parse, and their triggers and steps were checked
  • package.json is valid
  • pnpm format:check
  • PR CI (build and test) passes

🤖 Generated with Claude Code

Drop the develop branch from the PR and release workflows and remove the
publish:next script; master is now the only long-lived branch and
publishes to npm `latest`. Document the release flow in the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes consistently retire develop publishing while preserving the existing master release process, with no blocking issues identified.

No open issues 🎉

What changed in this PR

Simplifies releases to use only master, eliminating the parallel develop → next publishing path that required extra version bumps during promotions.

Changes:

  • Restricts release and PR workflows to master.
  • Removes the publish:next script and develop release step.
  • Documents the changeset-based release process.
File Description
README.md Documents contributions and releases through master.
package.json Removes the publish:next script.
.github/​workflows/​release.yml Removes develop-triggered releases.
.github/​workflows/​pr.yml Limits PR CI to PRs targeting master.

Review effort: Balanced

@adrienlacombe
adrienlacombe merged commit aef106e into master Oct 21, 2026
5 checks passed
@adrienlacombe
adrienlacombe deleted the claude/trunk-on-master branch October 21, 2026 11:03
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.

2 participants