Skip to content

Commit 77dc3bf

Browse files
committed
docs: add patch publish info
1 parent bf6df51 commit 77dc3bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ yarn run publish --otp <one-time password>
266266
1. Create release for the new tag: https://github.com/conventional-changelog/commitlint/releases
267267
1. Post in the [commitlint Slack-channel][12]
268268

269-
#### Publish a `next` release
269+
#### Publish a `next` release (or i.e. patch release)
270270

271271
```sh
272272
npm login
@@ -278,13 +278,13 @@ yarn clean
278278
yarn install
279279
yarn build
280280
yarn test
281-
npx lerna publish --conventional-commits --dist-tag next --otp <one-time password>
281+
npx lerna publish --conventional-commits --dist-tag [`next` | `[PATCH_RELEASE_VERSION]`] --otp <one-time password>
282282
```
283283

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

286286
```sh
287-
npm publish <package-name> --tag next --otp <one-time password>
287+
npm publish <package-name> --tag [`next` | `[PATCH_RELEASE_VERSION]`] --otp <one-time password>
288288
```
289289

290290
##### Move `next` to `latest`

0 commit comments

Comments
 (0)