Update ota_manifest.py

This commit is contained in:
iranl
2024-08-01 15:22:48 +02:00
committed by GitHub
parent 39da42dd4d
commit dd895a5c0d

View File

@@ -41,7 +41,7 @@ with open('ota/manifest.json', 'r+') as json_file:
if (args.ota_type == "release"):
data[args.ota_type]['fullversion'] = str(version)
else:
data[args.ota_type]['fullversion'] = str(version) + "-" + args.ota_type + str(number)
data[args.ota_type]['fullversion'] = str(version) + "-" + args.ota_type + str(data[args.ota_type]['number'])
data[args.ota_type]['build'] = args.build
json_file.seek(0)