electron/build/write_version.py
Jeremy Apthorp f82f89b2a3 build: [gn] add distributable zip target (#14093)
* build: [gn] add distributable zip target

* build: update the CircleCI config

- enable debug and testing builds on Mac
- run Mac release builds nightly
- run test for Mac release builds
- use shared build machines configs

* Add resources dir to zip on non mac platforms.
2018-08-21 13:06:28 -04:00

11 lines
170 B
Python

import sys
def main(argv):
out_file, version = argv
with open(out_file, 'w') as f:
f.write(version)
if __name__ == '__main__':
sys.exit(main(sys.argv[1:]))