Remove stamp.

This commit is contained in:
Lars Jung 2015-12-13 22:23:40 +01:00
parent ab622d5cd2
commit 2e8ae301c5
2 changed files with 1 additions and 4 deletions

4
ghu.js
View File

@ -1,5 +1,4 @@
const {resolve, join} = require('path');
const dateformat = require('dateformat');
const {
default: ghu,
autoprefixer, cssmin, ife, includeit, jade, jszip,
@ -24,8 +23,7 @@ ghu.before(runtime => {
if (hashes.length) {
const counter = ('000' + hashes.length).substr(-3);
const hash = hashes[0].substr(0, 7);
const stamp = dateformat(Date.now(), 'yyyy-mm-dd-HH-MM-ss');
runtime.pkg.version += `+${counter}~${hash}~${stamp}`;
runtime.pkg.version += `+${counter}~${hash}`;
}
}

View File

@ -19,7 +19,6 @@
"babel-core": "6.3.17",
"babel-eslint": "5.0.0-beta6",
"babel-preset-es2015": "6.3.13",
"dateformat": "1.0.12",
"eslint": "1.10.3",
"ghu": "0.2.2"
},