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"
|
echo "You probably don't know what you are doing"
|
||||||
exit 1
|
exit 1
|
||||||
endif
|
endif
|
||||||
$(MAKE) prepublish-build
|
|
||||||
$(YARN) lerna version $(VERSION) --exclude-dependents --force-publish=$(FORCE_PUBLISH) --no-push --yes --tag-version-prefix="version-e2e-test-"
|
$(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-"
|
$(YARN) lerna publish from-git --registry http://localhost:4873 --yes --tag-version-prefix="version-e2e-test-"
|
||||||
$(MAKE) clean
|
$(MAKE) clean
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,8 @@
|
|||||||
"build": "make build",
|
"build": "make build",
|
||||||
"fix": "make fix",
|
"fix": "make fix",
|
||||||
"lint": "make lint",
|
"lint": "make lint",
|
||||||
"test": "make test"
|
"test": "make test",
|
||||||
|
"version": "yarn --immutable-cache && git add yarn.lock"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.10.4",
|
"@babel/cli": "^7.10.4",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user