Skip to content

Commit ef5de7b

Browse files
ci: add release please (#2)
* Add release please * Add workflow dispatch
1 parent e0905be commit ef5de7b

4 files changed

Lines changed: 97 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Platform Release Please
2+
3+
on:
4+
workflow_dispatch:
5+
6+
push:
7+
branches:
8+
- main
9+
10+
permissions:
11+
contents: write # for google-github-actions/release-please-action to create release commit
12+
pull-requests: write # for google-github-actions/release-please-action to create release PR
13+
14+
jobs:
15+
release-please:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: google-github-actions/release-please-action@v4
20+
id: release
21+
with:
22+
command: manifest
23+
token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }}
24+
default-branch: main
25+
outputs:
26+
release_created: ${{ steps.release.outputs.release_created }}
27+
release_tag_name: ${{ steps.release.outputs.tag_name }}

.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+
}

CHANGELOG.md

Whitespace-only changes.

release-please-config.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"bootstrap-sha": "374e83b797fbc644ce1e5e3d14ac7acce3a9b44f",
3+
"packages": {
4+
".": {
5+
"release-type": "simple",
6+
"changelog-path": "CHANGELOG.md",
7+
"bump-minor-pre-major": false,
8+
"bump-patch-for-minor-pre-major": false,
9+
"draft": false,
10+
"prerelease": false,
11+
"include-component-in-tag": false
12+
}
13+
},
14+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
15+
"changelog-sections": [
16+
{
17+
"type": "feat",
18+
"hidden": false,
19+
"section": "Features"
20+
},
21+
{
22+
"type": "fix",
23+
"hidden": false,
24+
"section": "Bug Fixes"
25+
},
26+
{
27+
"type": "docs",
28+
"hidden": true,
29+
"section": "Docs"
30+
},
31+
{
32+
"type": "chore",
33+
"hidden": true,
34+
"section": "Other"
35+
},
36+
{
37+
"type": "build",
38+
"hidden": true,
39+
"section": "Build"
40+
},
41+
{
42+
"type": "deps",
43+
"hidden": true,
44+
"section": "Dependency Updates"
45+
},
46+
{
47+
"type": "ci",
48+
"hidden": true,
49+
"section": "CI"
50+
},
51+
{
52+
"type": "refactor",
53+
"hidden": true,
54+
"section": "Refactoring"
55+
},
56+
{
57+
"type": "style",
58+
"hidden": true,
59+
"section": "Code Style"
60+
},
61+
{
62+
"type": "test",
63+
"hidden": true,
64+
"section": "Tests"
65+
}
66+
]
67+
}

0 commit comments

Comments
 (0)