diff --git a/firmware/deploy-firmware.py b/firmware/deploy-firmware.py index 5bfc883..ee0759e 100755 --- a/firmware/deploy-firmware.py +++ b/firmware/deploy-firmware.py @@ -51,11 +51,10 @@ def version_number_from_git(tag_prefix='release/', sha_length=10, version_format "git status --untracked-files=no -s")) > 0 if int(commits_since_tag) == 0: - version_string = latest_release + version_string = str(latest_release) else: next_version = increment_version(latest_release) - version_string = version_format.format( - version=next_version, commits=commits_since_tag, sha=sha) + version_string = version_format.format(version=next_version, commits=commits_since_tag, sha=sha) if is_dirty: version_string += ".dirty" @@ -78,7 +77,7 @@ def read_app_description_from_segment(segment): def patch_app_description_in_segment(segment, version, project_name, time, date): - assert len(version) < 32 + #assert len(version) < 32 assert len(project_name) < 32 assert len(time) < 16 assert len(date) < 16