mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Provide more insight into the dist-tag computation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
c8e9e257fb
commit
1d45dab8b7
4
.github/workflows/publish-release-npm.yml
vendored
4
.github/workflows/publish-release-npm.yml
vendored
@ -38,7 +38,9 @@ jobs:
|
||||
- name: Publish NPM packages
|
||||
run: |
|
||||
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
|
||||
DIST_TAG=$(cat lerna.json | jq '.version' --raw-output | xargs npm exec -- @k8slens/semver --prerelease 0)
|
||||
VERSION=$(cat lerna.json | jq '.version' --raw-output)
|
||||
echo ${VERSION}
|
||||
DIST_TAG=$(npm exec -- @k8slens/semver --prerelease 0 ${VERSION})
|
||||
yarn lerna \
|
||||
publish from-package \
|
||||
--no-push \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user