mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix dist tags being wrong (#7028)
* Add reusable CLI for parsing semver Signed-off-by: Sebastian Malton <sebastian@malton.name> * Use CLI to specify dist-tag Signed-off-by: Sebastian Malton <sebastian@malton.name> * Remove dead scripts Signed-off-by: Sebastian Malton <sebastian@malton.name> * Add git ignore Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
57bd19f51b
commit
70872459b5
8 files changed
+1369
-15
No files matched your search
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
./node_modules/.bin/npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
|
||||
|
||||
NPM_RELEASE_TAG=$(cat package.json | jq .version --raw-output | rg '.*-(?P<channel>\w+).*' -r '$channel' | cat)
|
||||
|
||||
cd packages/extensions && npm publish --access=public --tag=${NPM_RELEASE_TAG:-latest} && git restore package.json
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
./node_modules/.bin/npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
|
||||
|
||||
NPM_RELEASE_TAG=$(cat package.json | jq .version --raw-output | rg '.*-(?P<channel>\w+).*' -r '$channel' | cat)
|
||||
|
||||
npm publish --access=public --tag=${NPM_RELEASE_TAG:-latest}
|
||||
Reference in new issue
Block a user