From c7c88e08f1711676ad84d50fc24130bc21340bdf Mon Sep 17 00:00:00 2001 From: Andrew Waite Date: Tue, 1 Sep 2015 17:06:41 +0100 Subject: [PATCH] Make travis auto set the version in package.json when it makes a build. --- .travis.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4e865d7..61b4349 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ node_js: script: gulp coverage before_deploy: - gulp build + - npm version ${TRAVIS_TAG} --no-git-tag-version deploy: provider: npm email: andrewwaite@silktide.com diff --git a/package.json b/package.json index 6e960f1..9c6c3cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simple-node-kissmetrics", - "version": "0.1.3", + "version": "0.1.0", "description": "ES6 KISSmetrics library.", "main": "dist/library-dist.js", "scripts": {