From 3233094eb8c5a76ef6801fbc3e80dea80736c5bb Mon Sep 17 00:00:00 2001 From: Scisco Date: Fri, 30 Mar 2018 12:07:41 -0400 Subject: [PATCH] test publishing from tag --- .circleci/config.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3c303d3aa28..f274e3a567d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -139,7 +139,11 @@ jobs: - checkout - run: name: Install Dependencies - command: yarn + command: | + # checkout the latest tag + LATEST_GIT_TAG=$(git describe --tags --abbrev=0 --match v*) + git checkout tags/$LATEST_GIT_TAG -b latest_git_tag + yarn - run: name: Publishing to NPM @@ -159,4 +163,4 @@ workflows: - build_and_test filters: branches: - only: release + only: release-version-1.3.0