Skip to content

Commit 5a56844

Browse files
authored
feat: release management (#59)
1 parent f0028d1 commit 5a56844

File tree

5 files changed

+68
-0
lines changed

5 files changed

+68
-0
lines changed

.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: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
"packages": {
14+
".": {
15+
"release-type": "simple",
16+
"changelog-path": "CHANGELOG.md",
17+
"extra-files": [
18+
{
19+
"type": "json",
20+
"path": ".claude-plugin/plugin.json",
21+
"jsonpath": "$.version"
22+
}
23+
]
24+
}
25+
},
26+
"exclude-paths": [
27+
".github",
28+
".release-please-manifest.json",
29+
".release-please-config.json",
30+
"CONTRIBUTING.md"
31+
]
32+
}

.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)