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>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2023-03-14 14:56:53 -04:00
1 parent 3649070ca3
commit e89ac54cd3
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 \