Fix publishing packages without changes (#6825)

Despite the name, "--force-publish" is actually an option for "lerna version".
When using "lerna publish from-git", lerna won't run "lerna version" beforehand,
so we can savely remove the "lerna version"-specific options.
This commit is contained in:
Nicola Krumschmidt
2021-07-15 16:22:58 +02:00
committed by GitHub
parent 25fa4f12bc
commit 87720f4ba2
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ jobs:
with:
node-version: '16.x'
- run: npx lerna publish --no-verify-access --force-publish --exact from-git --yes
- run: npx lerna publish from-git --no-verify-access --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}