const fs = require('fs');

let html = fs.readFileSync('index.html', 'utf8');
const version = Date.now().toString();
html = html.replace(/v=\d+/g, 'v=' + version);
fs.writeFileSync('index.html', html, 'utf8');

console.log('Cache busted again.');
