Skip to content

Commit

Permalink
Updated npm build
Browse files Browse the repository at this point in the history
  • Loading branch information
BencicAndrej committed Nov 15, 2018
1 parent 3a7386f commit fa61dbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
- run: go get ./...
- run: GOOS=windows go get -u github.com/spf13/cobra
- run: curl -sL https://git.io/goreleaser | bash
# - run: sed -i -e "s/\"version\": \".*\"/\"version\": \"$(echo $CIRCLE_TAG | cut -c 2-)\"/g" .npm/package.json
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run: 'sed -i -e "s/\"version\": \".*\"/\"version\": \"$(echo $CIRCLE_TAG | cut -c 2-)\"/g" .npm/package.json'
- run: mkdir -p ~/repo/.npmrc && echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run: cd .npm && npm publish
workflows:
version: 2
Expand Down

0 comments on commit fa61dbc

Please sign in to comment.