Write build timestamp from build.py

This commit is contained in:
Dave Ingram
2016-10-02 17:54:17 -07:00
parent 8ab9db3da5
commit a18664cdb8

View File

@ -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'))