Skip to content

Commit 154d13c

Browse files
chore: add release-please config with bump-minor-pre-major (#110)
Prevents breaking changes from triggering a 1.0.0 release while the project is still in 0.x. Breaking changes now bump the minor version (e.g. 0.7.1 -> 0.8.0) instead of the major version. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b25f143 commit 154d13c

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ jobs:
2929
steps:
3030
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
3131
id: release
32-
with:
33-
release-type: rust
3432

3533
build:
3634
name: Build (Linux)

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.7.1"
3+
}

release-please-config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"packages": {
4+
".": {
5+
"release-type": "rust",
6+
"bump-minor-pre-major": true
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)