Skip to content

Commit e7c6c60

Browse files
authored
ci: release + changelogs automation (#160)
1 parent ac40548 commit e7c6c60

File tree

3 files changed

+68
-0
lines changed

3 files changed

+68
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"include-component-in-tag": false,
3+
"include-v-in-tag": true,
4+
"release-as": "1.5.5",
5+
"pull-request-title-pattern": "chore${scope}: release${component} ${version} [release-please]",
6+
"packages": {
7+
".": {
8+
"release-type": "simple",
9+
"package-name": "playroom-unity",
10+
"changelog-path": "CHANGELOG.md",
11+
"changelog-sections": [
12+
{
13+
"type": "feat",
14+
"section": "Features"
15+
},
16+
{
17+
"type": "fix",
18+
"section": "Bug Fixes"
19+
},
20+
{
21+
"type": "perf",
22+
"section": "Performance"
23+
},
24+
{
25+
"type": "refactor",
26+
"section": "Refactors"
27+
},
28+
{
29+
"type": "revert",
30+
"section": "Reverts"
31+
}
32+
],
33+
"extra-files": [
34+
"Packages/com.playroomkit.sdk/package.json",
35+
"Tools/playroomkit-js/package.json"
36+
]
37+
}
38+
}
39+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.5.4"
3+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release + Changelog Automation [release-please]
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
permissions:
15+
contents: write
16+
pull-requests: write
17+
18+
jobs:
19+
release-please:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: googleapis/release-please-action@v4
23+
with:
24+
token: ${{ secrets.GITHUB_TOKEN }}
25+
config-file: .github/release-please/release-please-config.json
26+
manifest-file: .github/release-please/release-please-manifest.json

0 commit comments

Comments
 (0)