Skip to content

Commit 6c466fd

Browse files
committed
feat: release management
1 parent 7d3f6b0 commit 6c466fd

5 files changed

Lines changed: 69 additions & 0 deletions

File tree

.github/dependabot.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: release_please
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
on:
8+
workflow_dispatch:
9+
push:
10+
branches:
11+
- main
12+
13+
jobs:
14+
create_release_pr:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: googleapis/release-please-action@v4
19+
with:
20+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
21+
manifest-file: ".release-please-manifest.json"
22+
config-file: ".release-please-config.json"

.release-please-config.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"changelog-sections": [
4+
{ "type": "feat", "section": "Features" },
5+
{ "type": "fix", "section": "Bug Fixes" },
6+
{ "type": "refactor", "section": "Refactors" },
7+
{ "type": "chore", "section": "Miscellaneous Chores" },
8+
{ "type": "docs", "section": "Docs" }
9+
],
10+
"pull-request-header": ":rotating_light: There are changes ready for release :rocket:\n\nℹ Merge this PR once the team confirms the release is ready.\n",
11+
"pull-request-title-pattern": "chore: ${version}",
12+
"include-component-in-tag": false,
13+
"separate-pull-requests": true,
14+
"packages": {
15+
".": {
16+
"release-type": "simple",
17+
"changelog-path": "CHANGELOG.md",
18+
"extra-files": [
19+
{
20+
"type": "json",
21+
"path": ".claude-plugin/plugin.json",
22+
"jsonpath": "$.version"
23+
}
24+
]
25+
}
26+
},
27+
"exclude-paths": [
28+
".github",
29+
".release-please-manifest.json",
30+
".release-please-config.json",
31+
"CONTRIBUTING.md"
32+
]
33+
}

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

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
## 0.0.1
4+
5+
- Initial release.

0 commit comments

Comments
 (0)