mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Publish to the correct channels instead of always latest (#6963)
Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
ec84eeed8b
commit
5fc8ec610d
4 files changed
+17
-5
No files matched your search
@@ -3,7 +3,6 @@ CMD_ARGS = $(filter-out $@,$(MAKECMDGOALS))
|
||||
%:
|
||||
@:
|
||||
|
||||
NPM_RELEASE_TAG ?= latest
|
||||
ELECTRON_BUILDER_EXTRA_ARGS ?=
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
@@ -84,13 +83,11 @@ build-extension-types: node_modules packages/extensions/dist
|
||||
|
||||
.PHONY: publish-extensions-npm
|
||||
publish-extensions-npm: node_modules build-extensions-npm
|
||||
./node_modules/.bin/npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
|
||||
cd packages/extensions && npm publish --access=public --tag=$(NPM_RELEASE_TAG) && git restore package.json
|
||||
./scripts/publish-extensions-npm.sh
|
||||
|
||||
.PHONY: publish-library-npm
|
||||
publish-library-npm: node_modules build-library-npm
|
||||
./node_modules/.bin/npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
|
||||
npm publish --access=public --tag=$(NPM_RELEASE_TAG)
|
||||
./scripts/publish-library-npm.sh
|
||||
|
||||
.PHONY: build-docs
|
||||
build-docs:
|
||||
|
||||
Reference in new issue
Block a user