Skip to content

Commit 6a439ec

Browse files
committed
ci: switch release-please to manifest mode starting from v0.1.0
Use manifest config to control initial version and pre-major bump behavior. Breaking changes bump minor, features bump patch while version < 1.0.0.
1 parent f34ea8f commit 6a439ec

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.github/workflows/release-please.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,3 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: googleapis/release-please-action@v4
17-
with:
18-
release-type: simple

.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.0.0"
3+
}

release-please-config.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"packages": {
3+
".": {
4+
"release-type": "simple",
5+
"initial-version": "0.1.0",
6+
"bump-minor-pre-major": true,
7+
"bump-patch-for-minor-pre-major": true
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)