Export more things for the extension API (#7088)

* Export more things for the extension API

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Provide more insight into the dist-tag computation

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix type errors

Signed-off-by: Sebastian Malton <sebastian@malton.name>

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2023-02-02 08:28:56 -05:00
1 parent 7a57a89194
commit 6d2efb99e7
9 files changed
+68 -75

No files matched your search

+3 -1
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 \