prepare package release
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
15
Makefile
Normal file
15
Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
PUBLISH_VERSION ?=
|
||||
|
||||
ifndef PUBLISH_VERSION
|
||||
$(error PUBLISH_VERSION is not set)
|
||||
endif
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
|
||||
.PHONY: publish
|
||||
publish:
|
||||
yarn install
|
||||
yarn build
|
||||
yarn run copy
|
||||
cd src && yarn publish --no-git-tag-version --access public --new-version $(PUBLISH_VERSION)
|
||||
Reference in New Issue
Block a user