mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use the prerelease parts of @k8slens/core to determine dist tag
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
fe81c4fe63
commit
fa12e8407e
2
.github/workflows/publish-release-npm.yml
vendored
2
.github/workflows/publish-release-npm.yml
vendored
@ -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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user