Skip to content

Commit

Permalink
docs: add patch publish info
Browse files Browse the repository at this point in the history
  • Loading branch information
escapedcat committed Nov 17, 2021
1 parent bf6df51 commit 77dc3bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ yarn run publish --otp <one-time password>
1. Create release for the new tag: https://github.com/conventional-changelog/commitlint/releases
1. Post in the [commitlint Slack-channel][12]

#### Publish a `next` release
#### Publish a `next` release (or i.e. patch release)

```sh
npm login
Expand All @@ -278,13 +278,13 @@ yarn clean
yarn install
yarn build
yarn test
npx lerna publish --conventional-commits --dist-tag next --otp <one-time password>
npx lerna publish --conventional-commits --dist-tag [`next` | `[PATCH_RELEASE_VERSION]`] --otp <one-time password>
```

If for some reason this stops in between, you can manually publish missing packages like this:

```sh
npm publish <package-name> --tag next --otp <one-time password>
npm publish <package-name> --tag [`next` | `[PATCH_RELEASE_VERSION]`] --otp <one-time password>
```

##### Move `next` to `latest`
Expand Down

0 comments on commit 77dc3bf

Please sign in to comment.