set version arg when creating electron-api.json
This commit is contained in:
parent
71512ad244
commit
057fda5352
1 changed files with 2 additions and 1 deletions
|
@ -133,7 +133,8 @@ def copy_license():
|
|||
|
||||
def create_api_json_schema():
|
||||
outfile = os.path.join(DIST_DIR, 'electron-api.json')
|
||||
execute(['electron-docs-linter', '--outfile={0}'.format(outfile)])
|
||||
execute(['electron-docs-linter', '--outfile={0}'.format(outfile)],
|
||||
'--version={}'.format(ELECTRON_VERSION.replace('v', '')))
|
||||
|
||||
def strip_binaries():
|
||||
for binary in TARGET_BINARIES[PLATFORM]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue