Skip to content

Commit 5a4484c

Browse files
authored
fix: configure release-please to support multi-package managed releases (#5)
* chore(release-please): add initial configuration and manifest for feature releases * chore(release-please): add initial manifest versions for managed features --- Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
1 parent 6696146 commit 5a4484c

File tree

3 files changed

+31
-5
lines changed

3 files changed

+31
-5
lines changed

.release-please-config.json

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,38 @@
33
"features/shell": {
44
"release-type": "simple",
55
"changelog-path": "features/shell/CHANGELOG.md",
6-
"include-v-in-tag": true
6+
"include-v-in-tag": true,
7+
"extra-files": [
8+
{
9+
"type": "json",
10+
"path": "features/shell/feature.json",
11+
"jsonpath": "$.version"
12+
}
13+
]
714
},
815
"features/aws": {
916
"release-type": "simple",
1017
"changelog-path": "features/aws/CHANGELOG.md",
11-
"include-v-in-tag": true
18+
"include-v-in-tag": true,
19+
"extra-files": [
20+
{
21+
"type": "json",
22+
"path": "features/aws/feature.json",
23+
"jsonpath": "$.version"
24+
}
25+
]
1226
},
1327
"features/python": {
1428
"release-type": "simple",
1529
"changelog-path": "features/python/CHANGELOG.md",
16-
"include-v-in-tag": true
30+
"include-v-in-tag": true,
31+
"extra-files": [
32+
{
33+
"type": "json",
34+
"path": "features/python/feature.json",
35+
"jsonpath": "$.version"
36+
}
37+
]
1738
}
1839
}
1940
}

.release-please-manifest.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"features/shell": "0.0.0",
3+
"features/aws": "0.0.0",
4+
"features/python": "0.0.0"
5+
}

features/shell/feature.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "shell",
3-
"version": "1.0.0",
3+
"version": "0.0.0",
44
"name": "Shell Environment",
55
"description": "Configurable shell with optional Zsh, Oh My Zsh, Powerlevel10k, autosuggestions, and syntax highlighting.",
66
"options": {
@@ -36,4 +36,4 @@
3636
}
3737
},
3838
"entrypoint": "install.sh"
39-
}
39+
}

0 commit comments

Comments
 (0)