mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-10 15:24:00 +02:00
7 chars should be enough.
This commit is contained in:
@@ -2,8 +2,6 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
module.exports = function (make) {
|
module.exports = function (make) {
|
||||||
|
|
||||||
var path = require('path'),
|
var path = require('path'),
|
||||||
@@ -35,7 +33,7 @@ module.exports = function (make) {
|
|||||||
} else {
|
} else {
|
||||||
var lines = out.split(/\r?\n/);
|
var lines = out.split(/\r?\n/);
|
||||||
var count = lines.length - 1;
|
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) {
|
getBuildSuffix(function (result) {
|
||||||
|
|
||||||
pkg.version += '+' + result;
|
pkg.version += result;
|
||||||
$.info({ method: 'check-version', message: 'version set to ' + pkg.version });
|
$.info({ method: 'check-version', message: 'version set to ' + pkg.version });
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user