Skip to content

Commit 70895c1

Browse files
committed
2 parents 02a74b0 + 22c61df commit 70895c1

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Run release action
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- stable
7+
8+
jobs:
9+
autorelease:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/create-github-app-token@v2
13+
id: app-token
14+
with:
15+
app-id: ${{ vars.APP_ID }}
16+
private-key: ${{ secrets.PRIVATE_KEY }}
17+
- uses: googleapis/release-please-action@v4
18+
with:
19+
token: ${{ steps.app-token.outputs.token }}
20+
config-file: release-please-config.json
21+
target-branch: stable

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

release-please-config.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"release-type": "python",
3+
"changelog-path": "CHANGELOG.md",
4+
"default-branch": "main",
5+
"branches": [
6+
{
7+
"name": "stable",
8+
"release-type": "python",
9+
"draft": true,
10+
"prerelease": false,
11+
"changelog-path": "CHANGELOG.md"
12+
}
13+
],
14+
"include-component-in-tag": false,
15+
"bump-minor-pre-major": true,
16+
"bump-patch-for-minor-pre-major": true,
17+
"packages": {
18+
".": {}
19+
}
20+
}

0 commit comments

Comments
 (0)