From efd51295c9fc1e7fa8f01eaa564ded128c38098f Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Tue, 9 Jun 2015 18:48:09 +0200 Subject: [PATCH] use version from package.json --- npm/install.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/npm/install.js b/npm/install.js index 53cf9a663879..3261c6958ac1 100755 --- a/npm/install.js +++ b/npm/install.js @@ -1,7 +1,7 @@ #!/usr/bin/env node -// maintainer note - update this manually when doing new releases: -var version = '0.27.3' +// maintainer note - x.y.z-ab version in package.json -> x.y.z +var version = require('./package').version.replace(/-.*/, '') var fs = require('fs') var os = require('os')