Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 9023f5f

Browse files
authored
chore: update releasing doc (#936)
1 parent 011efc0 commit 9023f5f

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

RELEASING.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Create a new branch called `x.y.z-proposal` from the current commit.
1616

1717
Use below command to initialize all package directories.
1818

19-
```
19+
```bash
2020
npm install
2121
```
2222

@@ -49,20 +49,31 @@ Merge the PR, and pull the changes locally (using the commands in the first step
4949

5050
## Publish all packages
5151

52+
Publish the packages with Wombot (see internal documentation). First, get a
53+
token:
54+
55+
```bash
56+
# Run and follow instructions to get a 24h token
57+
npm login --registry https://wombat-dressing-room.appspot.com
58+
```
59+
5260
Go into each directory and use `npm publish` to publish the package. You can use the following
53-
script to automate this.
61+
script to automate this:
5462

5563
```bash
56-
#!/bin/bash
64+
lerna exec --no-bail --no-private -- npm publish --registry https://wombat-dressing-room.appspot.com
65+
```
5766

58-
for dir in $(ls packages); do
59-
pushd packages/$dir
60-
npm publish
61-
popd
62-
done
67+
Verify the new latest version on npm is the released version (this may take a
68+
few minutes to update) with:
69+
70+
```bash
71+
lerna exec --no-private -- 'echo -e $(npm show $LERNA_PACKAGE_NAME dist-tags.latest --json) $LERNA_PACKAGE_NAME'
6372
```
6473

65-
Check your e-mail and make sure the number of “you’ve published this module” emails matches the number you expect.
74+
If any packages are not showing the correct version, try publishing them
75+
individually by cd'ing into the package directory and running `npm publish
76+
--registry https://wombat-dressing-room.appspot.com`.
6677

6778
## Publish the GitHub Release
6879

0 commit comments

Comments
 (0)