This commit is contained in:
Fedor Indutnyy 2022-12-12 20:50:18 -08:00
commit eb2a7ac5cd

View file

@ -8,7 +8,8 @@ import { writeFileSync } from 'fs';
import { DAY } from '../util/durations'; import { DAY } from '../util/durations';
const unixTimestamp = parseInt( const unixTimestamp = parseInt(
execSync('git show -s --format=%ct').toString('utf8'), process.env.SOURCE_DATE_EPOCH ||
execSync('git show -s --format=%ct').toString('utf8'),
10 10
); );
const buildCreation = unixTimestamp * 1000; const buildCreation = unixTimestamp * 1000;