Skip to content

Commit 413acca

Browse files
authored
docs: add more info on failed publish (#4125)
1 parent 249e6a2 commit 413acca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/CONTRIBUTING.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,17 @@ yarn clean
144144
yarn install
145145
yarn build
146146
yarn test
147-
npx lerna publish --conventional-commits --dist-tag [`next` | `[release-vXX(BRANCH)]`] --otp <one-time password>
147+
npx lerna publish --conventional-commits --dist-tag [`next` | `next` | `[release-vXX(BRANCH)]`] --otp <one-time password>
148148
```
149149

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

152152
```sh
153-
npm publish <package-name> --tag [`next` | `[release-vXX(BRANCH)]`] --otp <one-time password>
153+
npm publish <package-name> --tag [`latest` | `next` | `[release-vXX(BRANCH)]`] --otp <one-time password>
154154
```
155155

156+
Depending on the state of the packages you might need to run `npm pack` in each failed package and then publish it.
157+
156158
#### Publishing (new) packages for the first time
157159

158160
```sh

0 commit comments

Comments
 (0)