diff --git a/.circleci/config.yml b/.circleci/config.yml index bb60152afb..1ce1d00cdc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -108,11 +108,11 @@ jobs: - image: *node_lts_image steps: - checkout + - yarn_install - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - run: name: Publish based on tag conditions command: | - set +e # Reduce a semver tag name to a Metro's release branch naming convention, eg v0.1.2-alpha.3 -> 0.1.x RELEASE_BRANCH=$(echo "$CIRCLE_TAG" | awk -F. '{print substr($1, 2) "." $2 ".x"}') echo "Release branch: $RELEASE_BRANCH" @@ -128,7 +128,6 @@ jobs: fi TAG="latest" [ "$TAG_ON_RELEASE_BRANCH" -eq 1 ] && TAG=$RELEASE_BRANCH - set -e npm run publish --tag=$TAG --dry-run - run: rm ~/.npmrc