chore: run create-typescript-definitions for darwin releases
This commit is contained in:
parent
a4607d3284
commit
99cf6815a8
2 changed files with 9 additions and 2 deletions
|
@ -68,10 +68,10 @@ def main():
|
|||
shutil.copy2(os.path.join(OUT_DIR, 'symbols.zip'), symbols_zip)
|
||||
upload_electron(release, symbols_zip, args)
|
||||
if PLATFORM == 'darwin':
|
||||
api_path = os.path.join(OUT_DIR, 'electron-api.json')
|
||||
api_path = os.path.join(SOURCE_ROOT, 'electron-api.json')
|
||||
upload_electron(release, api_path, args)
|
||||
|
||||
ts_defs_path = os.path.join(OUT_DIR, 'electron.d.ts')
|
||||
ts_defs_path = os.path.join(SOURCE_ROOT, 'electron.d.ts')
|
||||
upload_electron(release, ts_defs_path, args)
|
||||
dsym_zip = os.path.join(OUT_DIR, DSYM_NAME)
|
||||
shutil.copy2(os.path.join(OUT_DIR, 'dsym.zip'), dsym_zip)
|
||||
|
|
7
vsts.yml
7
vsts.yml
|
@ -115,6 +115,13 @@ jobs:
|
|||
ninja -C out/Default electron:electron_mksnapshot_zip
|
||||
displayName: Build mksnapshot and zip
|
||||
|
||||
- bash: |
|
||||
cd src/electron
|
||||
npm run create-typescript-definitions
|
||||
displayName: Generate type declarations
|
||||
condition: and(succeeded(), ne(variables['ELECTRON_RELEASE'], '1'))
|
||||
|
||||
|
||||
- bash: |
|
||||
cd src/electron
|
||||
if [ "$UPLOAD_TO_S3" != "1" ]; then
|
||||
|
|
Loading…
Reference in a new issue