Skip to content

Commit 3d8d4d5

Browse files
committed
docs: add info for manual publish
1 parent 0e789b3 commit 3d8d4d5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,18 @@ yarn test
253253
npx lerna publish --conventional-commits --dist-tag next --otp <one-time password>
254254
```
255255

256+
If for some reason this stops in between, you can manually publish missing packages like this:
257+
258+
```
259+
npm publish <package-name> --tag next --otp <one-time password>
260+
```
261+
256262
##### Move `next` to `latest`
257263

258264
```sh
259265
npm login
260266
```
261267

262-
Move next to latest:
263-
264268
```sh
265269
npx lerna exec --no-bail --no-private --no-sort --stream -- '[ -n "$(npm v . dist-tags.next)" ] && npm dist-tag add ${LERNA_PACKAGE_NAME}@$(npm v . dist-tags.next) latest --otp <one-time password>'
266270
```

0 commit comments

Comments
 (0)