1
0
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:
Sebastian Malton 2023-02-01 17:23:04 -05:00
parent c8e9e257fb
commit 1d45dab8b7

View File

@ -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 \