Skip to content

Commit db2e9ee

Browse files
committed
fix: release-please config
1 parent 3cc2b8b commit db2e9ee

File tree

4 files changed

+32
-7
lines changed

4 files changed

+32
-7
lines changed

.github/workflows/release-please.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,4 @@ jobs:
1313
package-name: fullstack-typescript-monorepo
1414
bump-minor-pre-major: true
1515
default-branch: test
16-
extra-files: |
17-
client/src/utils/Version.ts
18-
client/package.json
19-
core/package.json
20-
prisma/package.json
21-
server/package.json
16+
command: manifest

.release-please-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{".":"1.0.1"}

client/src/utils/Version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
const Version = '!0.0.0!'.replace(/!/g, '');
1+
const Version = '!0.0.0!'.replace(/!/g, ''); // x-release-please-version
22

33
export default Version;

release-please-config.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"packages": {
3+
".": {
4+
"extra-files": [
5+
"client/src/utils/Version.ts",
6+
{
7+
"type": "json",
8+
"path": "client/package.json",
9+
"jsonpath": "$.version"
10+
},
11+
{
12+
"type": "json",
13+
"path": "core/package.json",
14+
"jsonpath": "$.version"
15+
},
16+
{
17+
"type": "json",
18+
"path": "prisma/package.json",
19+
"jsonpath": "$.version"
20+
},
21+
{
22+
"type": "json",
23+
"path": "server/package.json",
24+
"jsonpath": "$.version"
25+
}
26+
]
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)