Skip to content

Commit 6a3dc22

Browse files
authored
fix(release): sync VERSION and package.json via release-please-config
Adds release-please-config.json with release-type: simple + extra-files configuration to sync package.json version via JSONPath. Also bumps VERSION 1.3.0 → 1.6.0 and package.json 1.0.0 → 1.6.0 to align with the v1.6.0 published release. Resolves the version drift between VERSION, package.json, .release-please-manifest.json, and CHANGELOG that broke update-system.mjs detection. Closes #336, #523.
1 parent 62b767d commit 6a3dc22

4 files changed

Lines changed: 20 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ jobs:
1313
steps:
1414
- uses: googleapis/release-please-action@v4
1515
with:
16-
release-type: simple
17-
package-name: career-ops
16+
config-file: release-please-config.json
1817
manifest-file: .release-please-manifest.json

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.0
1+
1.6.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "career-ops",
3-
"version": "1.0.0",
3+
"version": "1.6.0",
44
"description": "AI-powered job search pipeline built on Claude Code",
55
"scripts": {
66
"doctor": "node doctor.mjs",

release-please-config.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"release-type": "simple",
4+
"packages": {
5+
".": {
6+
"release-type": "simple",
7+
"package-name": "career-ops",
8+
"extra-files": [
9+
{
10+
"type": "json",
11+
"path": "package.json",
12+
"jsonpath": "$.version"
13+
}
14+
]
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)