Run prepublish build after versioning (#12028)
* test: run prepublish-build after versioning in publish test * chore: run yarn install when lerna version is invoked
This commit is contained in:
parent
b5481cccbf
commit
2026a42497
2
Makefile
2
Makefile
@ -244,8 +244,8 @@ ifneq ("$(I_AM_USING_VERDACCIO)", "I_AM_SURE")
|
||||
echo "You probably don't know what you are doing"
|
||||
exit 1
|
||||
endif
|
||||
$(MAKE) prepublish-build
|
||||
$(YARN) lerna version $(VERSION) --exclude-dependents --force-publish=$(FORCE_PUBLISH) --no-push --yes --tag-version-prefix="version-e2e-test-"
|
||||
$(MAKE) prepublish-build
|
||||
$(YARN) lerna publish from-git --registry http://localhost:4873 --yes --tag-version-prefix="version-e2e-test-"
|
||||
$(MAKE) clean
|
||||
|
||||
|
||||
@ -8,7 +8,8 @@
|
||||
"build": "make build",
|
||||
"fix": "make fix",
|
||||
"lint": "make lint",
|
||||
"test": "make test"
|
||||
"test": "make test",
|
||||
"version": "yarn --immutable-cache && git add yarn.lock"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.10.4",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user