fix: Run post_script at end

This commit is contained in:
Sayantan Santra 2023-08-28 14:23:28 -05:00
parent c770b5f821
commit fd667339da
Signed by: SinTan1729
GPG Key ID: EB3E68BFBA25C85F
1 changed files with 2 additions and 1 deletions

View File

@ -185,7 +185,8 @@ elif flag != 'checkonly':
with open('versions.json', 'w') as f:
json.dump(appstate['present_vers'], f, indent=4)
try:
subprocess.run(f"{appstate['build_config']['post_script']['file']} {timestamp}", shell=True)
subprocess.run(
f"{appstate['build_config']['post_script']['file']} {appstate['timestamp']}", shell=True)
except:
pass