From fa12e8407ee180e11068533716a51399d566bcff Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Tue, 14 Mar 2023 14:42:21 -0400 Subject: [PATCH] Use the prerelease parts of @k8slens/core to determine dist tag Signed-off-by: Sebastian Malton --- .github/workflows/publish-release-npm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-release-npm.yml b/.github/workflows/publish-release-npm.yml index 5a9f401d1c..01ca775fbe 100644 --- a/.github/workflows/publish-release-npm.yml +++ b/.github/workflows/publish-release-npm.yml @@ -38,7 +38,7 @@ jobs: - name: Publish NPM packages run: | npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" - VERSION=$(cat lerna.json | jq '.version' --raw-output) + VERSION=$(cat packages/core/package.json | jq '.version' --raw-output) echo ${VERSION} DIST_TAG=$(node packages/semver/dist/index.js --prerelease 0 ${VERSION}) npx lerna \