ci: release-please for version bumps, changelog and release tagging

This commit is contained in:
2026-08-20 12:03:10 +02:00
parent 7841a13ba3
commit d0573cd6b6
4 changed files with 47 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
name: release
# release-please: watches conventional commits on main, opens (and keeps
# updating) a release PR that bumps the version and assembles the
# changelog. Merging that PR creates the vX.Y.Z tag and the GitHub
# release. Works with branch protection: the release itself lands as an
# ordinary PR; no direct pushes to main are needed.
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
+3
View File
@@ -0,0 +1,3 @@
{
".": "0.0.1"
}
+9
View File
@@ -0,0 +1,9 @@
# Changelog
All notable changes to sattle are documented in this file. The format is
based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
releases are automated with
[release-please](https://github.com/googleapis/release-please) from
conventional commits: it maintains a release PR that bumps `package.json`
and updates this file; merging that PR tags `vX.Y.Z` and creates the
GitHub release.
+12
View File
@@ -0,0 +1,12 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"packages": {
".": {
"release-type": "node",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"include-v-in-tag": true,
"draft": false
}
}
}