12 lines
405 B
Diff
12 lines
405 B
Diff
--- a/ts/scripts/get-expire-time.ts
|
|
+++ b/ts/scripts/get-expire-time.ts
|
|
@@ -8,7 +8,7 @@ import { writeFileSync } from 'fs';
|
|
import { DAY } from '../util/durations';
|
|
|
|
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
|
|
);
|
|
const buildCreation = unixTimestamp * 1000;
|