diff --git a/.circleci/config.yml b/.circleci/config.yml index d39f1526e3..7a7c4f74c4 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -117,7 +117,7 @@ jobs: command: | echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc - yarn lerna version --exact + yarn release PACKAGE_SUFFIX=edge yarn build ./scripts/workspace-run npm publish diff --git a/package.json b/package.json index 99e867157e..032fac8548 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "test:e2e": "jest -i test/e2e", "test:lint": "yarn lint", "test:unit": "jest test/unit", - "postinstall": "lerna link && yarn dev" + "postinstall": "lerna link && yarn dev", + "release": "lerna version --exact" }, "devDependencies": { "@babel/core": "^7.1.6",