generate and upload electron.d.ts with each release

This commit is contained in:
Zeke Sikelianos 2017-03-31 21:01:55 -07:00
parent a686237d9b
commit 9a10486514
4 changed files with 11 additions and 0 deletions

View file

@ -81,6 +81,7 @@ def main():
if PLATFORM == 'darwin':
upload_electron(github, release, os.path.join(DIST_DIR,
'electron-api.json'))
upload_electron(github, release, os.path.join(DIST_DIR, 'electron.d.ts'))
upload_electron(github, release, os.path.join(DIST_DIR, DSYM_NAME))
elif PLATFORM == 'win32':
upload_electron(github, release, os.path.join(DIST_DIR, PDB_NAME))