Skip to content

Commit e84286e

Browse files
committed
ci: setup release-please automation for automated versioning
- Added release-please GitHub Action workflow to automate release PR creation. - Configured release-please-config.json to target Gradle build files for automated version bumping. - Initialized .release-please-manifest.json at version 2.0.0.
1 parent aabf3a6 commit e84286e

3 files changed

Lines changed: 36 additions & 0 deletions

File tree

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

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "2.0.0"
3+
}

release-please-config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"packages": {
3+
".": {
4+
"release-type": "simple",
5+
"extra-files": [
6+
{
7+
"type": "xml",
8+
"path": "pom.xml",
9+
"xpath": "/project/version"
10+
},
11+
"build.gradle",
12+
"gradle.properties"
13+
]
14+
}
15+
}
16+
}

0 commit comments

Comments
 (0)