Skip to content

chore: automate releases with release-please-action#267

Merged
zivl merged 1 commit intomasterfrom
chore/automate-releases-with-release-please
Mar 29, 2026
Merged

chore: automate releases with release-please-action#267
zivl merged 1 commit intomasterfrom
chore/automate-releases-with-release-please

Conversation

@zivl
Copy link
Copy Markdown
Owner

@zivl zivl commented Mar 29, 2026

Summary

  • Removes standard-version and the manual release npm script
  • Adds release-please-config.json and .release-please-manifest.json to configure release-please for the packages/sentry-testkit package
  • Replaces .github/workflows/publish.yml with .github/workflows/release-please.yml, which:
    • Opens/updates a release PR automatically on every push to master based on conventional commits
    • Publishes to npm when that release PR is merged (build → test → publish)

How it works

Releases are now fully automated via release-please-action:

  1. Commit to master using Conventional Commits (fix:, feat:, feat!:)
  2. release-please opens a "Release PR" with a bumped version and updated CHANGELOG.md
  3. Merge the Release PR → GitHub release + tag is created, npm publish runs automatically

Test plan

  • Verify the release-please workflow runs on push to master
  • Confirm a release PR is created with correct version bump after a conventional commit
  • Confirm npm publish runs only when a release is created (not on every push)

🤖 Generated with Claude Code

- Remove `standard-version` and the `release` npm script
- Add `release-please-config.json` and `.release-please-manifest.json` for monorepo setup
- Add `.github/workflows/release-please.yml` which opens release PRs on every push to master and publishes to npm when a release is merged
- Delete `.github/workflows/publish.yml` (superseded by the new workflow)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@zivl zivl merged commit 04a87bd into master Mar 29, 2026
12 checks passed
@zivl zivl deleted the chore/automate-releases-with-release-please branch March 29, 2026 20:39
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