const fs = require('fs');
const path = require('path');

const versionFile = path.join(__dirname, '../public/version.json');
const version = Date.now().toString();

fs.writeFileSync(versionFile, JSON.stringify({ version }));
console.log('✅ Version generated: ' + version);
