Fix release process in light of changing to independent versioning (#7357)

* Remove workflow

- Not applicable anymore since each package has its own version

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

* Fix daily-alpha to be based on core version

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

* lerna.json no longer will be updated during releases

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

* Use the prerelease parts of @k8slens/core to determine dist tag

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

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Gabriel <gaccettola@mirantis.com>
This commit is contained in:
Sebastian Malton authored and Gabriel committed 2023-03-21 09:07:59 +01:00
1 parent 96250fb71b
commit ab7192c2e0
4 files changed
+3 -48

No files matched your search

+1 -1
View File
@@ -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 \