Skip to content

Commit

Permalink
move version spec after the checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgorgo committed Oct 12, 2017
1 parent 0b523a6 commit 08a946c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ deployment:
production:
tag: /.*/
commands:
# Set the version number
- sed -i -E 's/0.0.0/$CIRCLE_TAG/' package.json
# Publish to NPM
- echo -e "$NPM_USERNAME\n$NPM_PASSWORD\n$NPM_EMAIL" | npm login
- git checkout -f master
# Set the version number
- sed -i -E 's/0.0.0/$CIRCLE_TAG/' package.json
- npm install publish
- npm run npmPublish
# Update gh-pages demo site
Expand Down

0 comments on commit 08a946c

Please sign in to comment.