--- a/ts/scripts/get-expire-time.ts +++ b/ts/scripts/get-expire-time.ts @@ -7,11 +7,7 @@ import { DAY } from '../util/durations'; -const unixTimestamp = parseInt( - execSync('git show -s --format=%ct').toString('utf8'), - 10 -); -const buildCreation = unixTimestamp * 1000; +const buildCreation = new Date().getTime(); const buildExpiration = buildCreation + DAY * 90;