Skip to content

Commit

Permalink
test publishing from tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Scisco committed Mar 30, 2018
1 parent dee9246 commit 3233094
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -159,4 +163,4 @@ workflows:
- build_and_test
filters:
branches:
only: release
only: release-version-1.3.0

0 comments on commit 3233094

Please sign in to comment.