First Release

This commit is contained in:
VerstreuteSeele
2022-12-18 20:50:46 +01:00
parent 97d307a589
commit afb7e52794
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -38,10 +38,9 @@ def main():
os.system(f' cd "{folder}" && powershell -command "./fbt updater_package"')
os.system(f'move {os.path.join(Build_path + f"f7-update-{ren}")} {Firmware_base}')
old_build = f"f7-update-{ren}"
new_build = ren
os.system(f"cd {Firmware_base} && ren {old_build} {new_build}")
os.system(f"cd {Firmware_base} && ren {old_build} {ren}")
os.system(f'git add * && git commit -m "{commit}"')
zipfile = shutil.make_archive(os.path.join(Firmware_base, ren), 'zip', new_build)
zipfile = shutil.make_archive(ren, 'zip', os.path.join(Firmware_base, ren))
print(zipfile)
input()
os.system(f'''gh release create {ren.split('"')[1].split('"')[0]} -R "ClaraCrazy/flipper-firmware" --generate-notes {zipfile}''')
+1 -1
View File
@@ -14,7 +14,7 @@ DEBUG = 0
# Suffix to add to files when building distribution
# If OS environment has DIST_SUFFIX set, it will be used instead
DIST_SUFFIX = "CC_CL-0004"
DIST_SUFFIX = "CC_CL-0005"
# Coprocessor firmware
COPRO_OB_DATA = "scripts/ob.data"