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:
1 parent
c8e9e257fb
commit
1d45dab8b7
1 file changed
+3
-1
@@ -38,7 +38,9 @@ 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}"
|
||||||
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 \
|
yarn lerna \
|
||||||
publish from-package \
|
publish from-package \
|
||||||
--no-push \
|
--no-push \
|
||||||
|
|||||||
Reference in new issue
Block a user