Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 18e1418

Browse files
authored
ci: add release please action (#336)
* ci: add release please github action * ci: add release please manifest config
1 parent 7a0f457 commit 18e1418

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-0
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ insert_final_newline = true
1313

1414
[*.csproj]
1515
indent_size = 2
16+
17+
[*.{yml,yaml}]
18+
indent_size = 2
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
name: release-please
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: google-github-actions/release-please-action@v4
17+
with:
18+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
19+
config-file: release-please-config.json
20+
manifest-file: .release-please-manifest.json
21+
target-branch: main

.release-please-manifest.json

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

release-please-config.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"packages": {
3+
".": {
4+
"changelog-path": "CHANGELOG.md",
5+
"release-type": "dotnet-yoshi",
6+
"bump-minor-pre-major": false,
7+
"bump-patch-for-minor-pre-major": false,
8+
"draft": false,
9+
"prerelease": false,
10+
"bootstrap-sha": "e9b73fc10c023bc83c0b7816d7e872199d92cbee",
11+
"exclude-paths": ["./.azure-pipelines", "./.github", "./.idea", "./.vs", "./.vscode"]
12+
}
13+
},
14+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
15+
}

0 commit comments

Comments
 (0)