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

Commit

Permalink
chore: update releasing doc (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass authored Jul 29, 2021
1 parent 011efc0 commit 9023f5f
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Create a new branch called `x.y.z-proposal` from the current commit.

Use below command to initialize all package directories.

```
```bash
npm install
```

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

## Publish all packages

Publish the packages with Wombot (see internal documentation). First, get a
token:

```bash
# Run and follow instructions to get a 24h token
npm login --registry https://wombat-dressing-room.appspot.com
```

Go into each directory and use `npm publish` to publish the package. You can use the following
script to automate this.
script to automate this:

```bash
#!/bin/bash
lerna exec --no-bail --no-private -- npm publish --registry https://wombat-dressing-room.appspot.com
```

for dir in $(ls packages); do
pushd packages/$dir
npm publish
popd
done
Verify the new latest version on npm is the released version (this may take a
few minutes to update) with:

```bash
lerna exec --no-private -- 'echo -e $(npm show $LERNA_PACKAGE_NAME dist-tags.latest --json) $LERNA_PACKAGE_NAME'
```

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

## Publish the GitHub Release

Expand Down

0 comments on commit 9023f5f

Please sign in to comment.