1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-08 14:56:35 +02:00

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}`;
}
}