Skip to content

Commit d130d7b

Browse files
committed
add instruction to release checklist
1 parent 7e5bac4 commit d130d7b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/new-sdk-release-checklist.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,13 @@ When you’re ready to make the first release, there are a couple of steps that
5858
- [ ] 1) If not yet done, be sure to remove the `private: true` property from your SDK’s `package.json`. Additionally, ensure that `"publishConfig": {"access": "public"}` is set.
5959
- [ ] 2) Make sure that the new SDK is **not added** in`[craft.yml](https://github.com/getsentry/sentry-javascript/blob/master/.craft.yml)` as a target for the **Sentry release registry**\
6060
*Once this is added, craft will try to publish an entry in the next release which does not work and caused failed release runs in the past*
61-
- [ ] 3) Make sure the new SDK is not excluded from the github & npm targets in `.craft.yml`
62-
- [ ] 4) Cut a new release (as usual, via GH release action and Craft)
61+
- [ ] 3) Add an `npm` target in `craft.yml` for the new package. Make sure to insert it in the right place, after all the Sentry dependencies of your package but before packages that depend on your new package (if applicable).
62+
```yml
63+
- name: npm
64+
id: npm:@sentry/[yourPackage]
65+
includeNames: /^sentry-[yourPackage]-\d.*\.tgz$/
66+
```
67+
- [ ] 4) Cut a new release (as usual, see [Publishing Release](https://github.com/getsentry/sentry-javascript/blob/develop/docs/publishing-a-release.md))
6368
6469
### After the Release
6570

0 commit comments

Comments
 (0)