Skip to content

Commit f47f829

Browse files
authored
feat: migrate repo releases to manual release-please (#293)
1 parent 74fb717 commit f47f829

44 files changed

Lines changed: 1966 additions & 800 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/commands/release-docs.md

Lines changed: 0 additions & 211 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
".": "2.42.0",
3+
"plugins/compound-engineering": "2.42.0",
4+
"plugins/coding-tutor": "1.2.1",
5+
".claude-plugin": "1.0.0"
6+
}

.github/release-please-config.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"include-component-in-tag": true,
4+
"packages": {
5+
".": {
6+
"release-type": "simple",
7+
"package-name": "cli",
8+
"changelog-path": "CHANGELOG.md",
9+
"extra-files": [
10+
{
11+
"type": "json",
12+
"path": "package.json",
13+
"jsonpath": "$.version"
14+
}
15+
]
16+
},
17+
"plugins/compound-engineering": {
18+
"release-type": "simple",
19+
"package-name": "compound-engineering",
20+
"changelog-path": "../../CHANGELOG.md",
21+
"extra-files": [
22+
{
23+
"type": "json",
24+
"path": ".claude-plugin/plugin.json",
25+
"jsonpath": "$.version"
26+
},
27+
{
28+
"type": "json",
29+
"path": ".cursor-plugin/plugin.json",
30+
"jsonpath": "$.version"
31+
}
32+
]
33+
},
34+
"plugins/coding-tutor": {
35+
"release-type": "simple",
36+
"package-name": "coding-tutor",
37+
"changelog-path": "../../CHANGELOG.md",
38+
"extra-files": [
39+
{
40+
"type": "json",
41+
"path": ".claude-plugin/plugin.json",
42+
"jsonpath": "$.version"
43+
},
44+
{
45+
"type": "json",
46+
"path": ".cursor-plugin/plugin.json",
47+
"jsonpath": "$.version"
48+
}
49+
]
50+
},
51+
".claude-plugin": {
52+
"release-type": "simple",
53+
"package-name": "marketplace",
54+
"changelog-path": "../CHANGELOG.md",
55+
"extra-files": [
56+
{
57+
"type": "json",
58+
"path": "marketplace.json",
59+
"jsonpath": "$.metadata.version"
60+
}
61+
]
62+
}
63+
}
64+
}

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,31 @@ on:
77
workflow_dispatch:
88

99
jobs:
10+
pr-title:
11+
if: github.event_name == 'pull_request'
12+
runs-on: ubuntu-latest
13+
permissions:
14+
pull-requests: read
15+
16+
steps:
17+
- name: Validate PR title
18+
uses: amannn/action-semantic-pull-request@v6.1.1
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
with:
22+
requireScope: false
23+
types: |
24+
feat
25+
fix
26+
docs
27+
refactor
28+
chore
29+
test
30+
ci
31+
build
32+
perf
33+
revert
34+
1035
test:
1136
runs-on: ubuntu-latest
1237

@@ -21,5 +46,8 @@ jobs:
2146
- name: Install dependencies
2247
run: bun install
2348

49+
- name: Validate release metadata
50+
run: bun run release:validate
51+
2452
- name: Run tests
2553
run: bun test

.github/workflows/publish.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)