Skip to content

ci: Add release-please workflow#111

Merged
quiiver merged 1 commit into
mainfrom
wil/release-please
Jun 23, 2026
Merged

ci: Add release-please workflow#111
quiiver merged 1 commit into
mainfrom
wil/release-please

Conversation

@quiiver

@quiiver quiiver commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Adds a release-please workflow, modeled on the mozilla/mozcloud setup.

How it works

  • Push to mainrelease-please-action opens/updates a Release PR (version bump + CHANGELOG from conventional commits).
  • Merging the Release PR → release-please pushes a vX.Y.Z tag and creates the GitHub Release.
  • The existing build and push to GAR workflow already triggers on v[0-9]+.[0-9]+.[0-9]+ tags, so the image build happens automatically off the release tag.

Files

  • .github/workflows/release.yml — release-please job (pinned googleapis/release-please-action@v5.0.0, same SHA as mozcloud). The goreleaser/GCS fanout from mozcloud is Go-tool-specific and intentionally omitted.
  • release-please-config.jsonrelease-type: node, single root package, include-component-in-tag: false so tags stay plain vX.Y.Z (matching the GAR trigger). Pre-1.0 bump flags keep it on the 0.x line.
  • .release-please-manifest.json — seeded at the current 0.1.3 tag, so only commits since v0.1.3 are considered. First Release PR bumps to v0.1.4.

Prerequisite

release-please opens PRs via GITHUB_TOKEN. This requires Settings → Actions → General → "Allow GitHub Actions to create and approve pull requests" to be enabled (as on mozcloud); otherwise the action needs a PAT.

Note

With release-type: node, the first release reconciles root package.json (currently drifted at 1.0.0) down to the real version line (0.1.x).

Adds a release-please workflow modeled on the mozilla/mozcloud setup:
push to main opens/updates a Release PR, and merging it tags vX.Y.Z and
creates the GitHub Release. The existing build-and-push-to-GAR workflow
already triggers on those tags to build the image.

- release-type node, single root package, plain vX.Y.Z tags
- manifest seeded at the current 0.1.3 tag
@quiiver
quiiver merged commit 7e08347 into main Jun 23, 2026
2 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