From a18664cdb84a38ba0cd927b4789e0e8a81969d9f Mon Sep 17 00:00:00 2001 From: Dave Ingram Date: Sun, 2 Oct 2016 17:54:17 -0700 Subject: [PATCH] Write build timestamp from build.py --- build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.py b/build.py index 55a6bbf6..59423c73 100755 --- a/build.py +++ b/build.py @@ -235,6 +235,9 @@ main = doReplacements(main,downloadUrl=downloadUrl,updateUrl=updateUrl) saveScriptAndMeta(main, outDir, 'total-conversion-build.user.js', oldDir) +with io.open(os.path.join(outDir, '.build-timestamp'), 'w') as f: + f.write(time.strftime('%Y-%m-%d %H:%M:%S UTC', utcTime)) + # for each plugin, load, parse, and save output os.mkdir(os.path.join(outDir,'plugins'))