diff --git a/Makefile b/Makefile index 7ddec4e9eee0..9b28f23d1a62 100644 --- a/Makefile +++ b/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 diff --git a/package.json b/package.json index 9f430e5d5d43..ff3f1b06ece9 100644 --- a/package.json +++ b/package.json @@ -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",