mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use CLI to specify dist-tag
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
db09634107
commit
0bc6e32347
8
.github/workflows/publish-release-npm.yml
vendored
8
.github/workflows/publish-release-npm.yml
vendored
@ -38,6 +38,12 @@ jobs:
|
|||||||
- name: Publish NPM packages
|
- name: Publish NPM packages
|
||||||
run: |
|
run: |
|
||||||
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
|
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
|
||||||
yarn lerna publish from-package --no-push --no-git-tag-version --yes
|
DIST_TAG=$(cat lerna.json | jq '.version' --raw-output | xargs node ./packages/semver/dist/index.mjs --prerelease 0)
|
||||||
|
yarn lerna \
|
||||||
|
publish from-package \
|
||||||
|
--no-push \
|
||||||
|
--no-git-tag-version \
|
||||||
|
--yes \
|
||||||
|
--dist-tag ${DIST_TAG:-latest}
|
||||||
env:
|
env:
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user