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

View file

@ -185,7 +185,8 @@ elif flag != 'checkonly':
with open('versions.json', 'w') as f: with open('versions.json', 'w') as f:
json.dump(appstate['present_vers'], f, indent=4) json.dump(appstate['present_vers'], f, indent=4)
try: 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: except:
pass pass