mirror of
https://github.com/lowdefy/lowdefy.git
synced 2024-11-27 05:12:31 +08:00
fix: Do not tag prereleases with latest tag on npm
This commit is contained in:
parent
ce1aac0ff4
commit
106aef7a9e
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
@ -62,8 +62,9 @@ jobs:
|
||||
# --no-verify-access to use automation tokens https://github.com/lerna/lerna/issues/2788
|
||||
# --ignore-scripts to aovoid scripts that could read npm token
|
||||
# --yes to autoconfirm in ci
|
||||
# --pre-dist-tag do not tag prereleases as latest
|
||||
- name: publish to npm
|
||||
run: yarn lerna:publish --ignore-scripts --yes --no-verify-access
|
||||
run: yarn lerna:publish --ignore-scripts --yes --no-verify-access --pre-dist-tag alpha
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user