mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
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:
committed by
GitHub
parent
25fa4f12bc
commit
87720f4ba2
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user