Skip to content
This repository has been archived by the owner on Sep 27, 2018. It is now read-only.

Commit

Permalink
Workaround npm version from-git only supporting annotated tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
nellh committed Jul 28, 2018
1 parent bda4249 commit 6309153
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,9 @@ jobs:
- run:
name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run:
name: Convert to a full clone for tag history
command: git fetch --unshallow
- run:
name: Sync version with git tag
command: npm version from-git
command: npm --no-git-tag-version version $CIRCLE_TAG
- run:
name: Publish to NPM
command: npm publish
Expand Down

0 comments on commit 6309153

Please sign in to comment.