From 83558e9354a026dfea32ec17da803ebaac50515e Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sun, 17 Aug 2014 02:05:28 +0200 Subject: [PATCH] 7 chars should be enough. --- makefile.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/makefile.js b/makefile.js index 7c40317f..0533f147 100644 --- a/makefile.js +++ b/makefile.js @@ -2,8 +2,6 @@ 'use strict'; - - module.exports = function (make) { var path = require('path'), @@ -35,7 +33,7 @@ module.exports = function (make) { } else { var lines = out.split(/\r?\n/); var count = lines.length - 1; - callback('' + count + '~' + lines[0].substring(0, 10)); + callback('+' + count + '~' + lines[0].substring(0, 7)); } }); } @@ -56,7 +54,7 @@ module.exports = function (make) { getBuildSuffix(function (result) { - pkg.version += '+' + result; + pkg.version += result; $.info({ method: 'check-version', message: 'version set to ' + pkg.version }); done(); });