Skip to content

Commit

Permalink
Merge pull request #331 from chrisfilo/enh/tagged_versions
Browse files Browse the repository at this point in the history
switch to tagged versions
  • Loading branch information
chrisgorgo authored Oct 12, 2017
2 parents d55b8d6 + 8f7a1e2 commit 0b523a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ test:

deployment:
production:
branch: master
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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bids-validator",
"version": "0.23.6",
"version": "0.0.0",
"description": "",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 0b523a6

Please sign in to comment.