From 93dffda563f6ce68c769a4b032aaabf62f830b34 Mon Sep 17 00:00:00 2001 From: Rob Hogan <2590098+robhogan@users.noreply.github.com> Date: Wed, 20 Sep 2023 16:16:19 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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