Shutdown macOS build VM after building
This commit is contained in:
parent
1958d67847
commit
63d7b2a80b
1 changed files with 5 additions and 5 deletions
10
publish.py
10
publish.py
|
|
@ -75,11 +75,11 @@ def run_with_retry(cmd: str) -> None:
|
|||
call(cmd, echo=True)
|
||||
|
||||
for x in ('64', '32', 'arm64'):
|
||||
cmd = f'python ../bypy linux --arch {x} program'
|
||||
run_with_retry(cmd)
|
||||
call(f'python ../bypy linux --arch {x} shutdown', echo=True)
|
||||
cmd = 'python ../bypy macos program --sign-installers --notarize'
|
||||
run_with_retry(cmd)
|
||||
prefix = f'python ../bypy linux --arch {x} '
|
||||
run_with_retry(prefix + 'program')
|
||||
call(prefix + 'shutdown', echo=True)
|
||||
run_with_retry('python ../bypy macos program --sign-installers --notarize')
|
||||
call('python ../bypy macos shutdown', echo=True)
|
||||
call('./setup.py build-static-binaries')
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue