Skip to content

Commit f03b509

Browse files
authored
chore: add cloudflare and sdk-server-edge to release please (#86)
1 parent bab593c commit f03b509

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

contributing/initial-package-publish.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22

33
When publishing a package for the first time, you must complete several steps not part of a typical package release.
44

5-
1. If you are not releasing a 1.0, then you need to set the `release-as` setting in the `release-please-config.json` to your desired version.
6-
Release-please will include all conventional commits, but for the initial release, you do not want them, so you should set the `bootstrap-sha` to the current SHA.
5+
1. If you are not releasing a 1.0, then you need to set the `release-as` setting in the `release-please-config.json` to your desired version.
6+
Release-please will include all conventional commits, but for the initial release, you do not want them, so you should set the `bootstrap-sha` to the current SHA.
77

88
```
99
"packages/type/my-package": {
1010
"bump-minor-pre-major": true // Set this if you are releasing a pre 1.0.
11-
"release-as": 0.1.0 // Set this for a pre 1.0 release.
12-
"bootstrap-sha": MY_SHA // Set this to the most recent SHA.
11+
"release-as": "0.1.0", // Set this for a pre 1.0 release.
12+
"bootstrap-sha": "MY_SHA" // Set this to the most recent SHA.
1313
}
1414
```
15+
1516
2. After the release PR is created you will need to manual update the PR it creates to format the changelog as desired. Ensuring the notice is at the top, and adding any language required for the initial release.
1617

1718
3. When you are ready to release, merge the PR. If there are other packages being released, then check to ensure that package is ready to be released.

release-please-config.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,18 @@
66
"packages/shared/sdk-server": {
77
"bump-minor-pre-major": true
88
},
9+
"packages/shared/sdk-server-edge": {
10+
"bump-minor-pre-major": true,
11+
"release-as": "0.0.1",
12+
"bootstrap-sha": "0578190123e2712b50774ca3087c7577ef2b9eb2"
13+
},
914
"packages/sdk/server-node": {
1015
"bump-minor-pre-major": true
16+
},
17+
"packages/sdk/cloudflare": {
18+
"bump-minor-pre-major": true,
19+
"release-as": "0.0.1",
20+
"bootstrap-sha": "0578190123e2712b50774ca3087c7577ef2b9eb2"
1121
}
1222
},
1323
"plugins": ["node-workspace"]

0 commit comments

Comments
 (0)