Skip to content

Commit fa4fdc6

Browse files
committed
chore: add release-please automation
Adds release-please workflow + config so that merged PRs with conventional commits trigger automated changelog updates and release PRs. Manifest seeds at v0.1.0 (already released). Signed-off-by: Erik Nilsen <enilsen16@live.com>
1 parent f00abc2 commit fa4fdc6

3 files changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: release-please
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
release-please:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: googleapis/release-please-action@v4
16+
id: release
17+
with:
18+
config-file: .release-please-config.json
19+
manifest-file: .release-please-manifest.json

.release-please-config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"release-type": "simple",
4+
"changelog-path": "CHANGELOG.md",
5+
"bump-minor-pre-major": true,
6+
"bump-patch-for-minor-pre-major": true,
7+
"packages": {
8+
".": {
9+
"package-name": "protobuf-pony"
10+
}
11+
}
12+
}

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

0 commit comments

Comments
 (0)