Skip to content

chore(ci): Automate releases with release-please and add the npm badge - #2

Merged
wagnercosta merged 1 commit into
mainfrom
chore/release-please
Aug 29, 2026
Merged

chore(ci): Automate releases with release-please and add the npm badge#2
wagnercosta merged 1 commit into
mainfrom
chore/release-please

Conversation

@wagnercosta

Copy link
Copy Markdown
Member

What

  • release-please.yml: on every push to main, maintain a Release PR (version bump + CHANGELOG from conventional commits); merging it tags, creates the GitHub Release, publishes to npm, and attaches the tarball — all in one run.
  • release-please-config.json + .release-please-manifest.json (bootstrapped at 0.2.3).
  • README: npm version badge (a visible check that a release actually published).
  • AGENTS.md + docs/runbooks/release.md: new versioning rules — no manual package.json bumps, no manual tags, fix:/feat: trigger releases.

Why

Tags were being pushed by hand. Publishing must live in the release-please run because tags created with GITHUB_TOKEN never trigger release.yml (kept only as an emergency fallback).

Requires (org admin)

Org Settings → Actions → General → Allow GitHub Actions to create and approve pull requests — without it release-please cannot open the Release PR.

@wagnercosta
wagnercosta merged commit 2767a9d into main Aug 29, 2026
1 check passed
@wagnercosta
wagnercosta deleted the chore/release-please branch August 29, 2026 00:11
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