summarylogtreecommitdiffstats
path: root/expire-from-source-date-epoch.patch
blob: 88f59b0f949124628b1a912cb7ccabbe27a0ec47 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/ts/scripts/get-expire-time.ts	2021-12-15 03:06:07.198974886 -0500
+++ b/ts/scripts/get-expire-time.ts	2021-12-15 03:07:10.951561856 -0500
@@ -8,7 +8,7 @@
 import { DAY } from '../util/durations';
 
 const unixTimestamp = parseInt(
-  execSync('git show -s --format=%ct').toString('utf8'),
+  execSync('date +%s').toString('utf8'),
   10
 );
 const buildCreation = unixTimestamp * 1000;