feat(ci): edge@next (#4477)

This commit is contained in:
Clark Du 2018-12-04 12:20:01 +00:00 committed by Pooya Parsa
parent 5a8e6e4bdf
commit 76c9d58f49

View File

@ -123,7 +123,8 @@ jobs:
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
yarn lerna version --yes --no-git-tag-version --no-push
PACKAGE_SUFFIX=edge yarn build
./scripts/workspace-run npm publish -q
if [ "$CIRCLE_BRANCH" = "next" ]; then tag="-t next"; fi
./scripts/workspace-run npm publish $tag -q
fi
# Workflow definition
@ -164,3 +165,4 @@ workflows:
branches:
only:
- dev
- next