Skip to content

Commit

Permalink
message fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiPetukhov committed Aug 6, 2024
1 parent 127c522 commit 806c4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ def validate_instance_version(github_access_token: str, subapp_paths: List[str],
# validate version
for min_inst_ver, min_sdk_ver in versions_json.items():
if compare_semver(instance_version, min_inst_ver) >= 0 and compare_semver(sdk_version, min_sdk_ver) < 0:
print(f"ERROR: Server version {instance_version} is incompatible with SDK version {sdk_version}")
print(f"ERROR: Supervisely server version {instance_version} is incompatible with SDK version {sdk_version}")
print(f"ERROR: for versions from {min_inst_ver} and higher SDK version should be {min_sdk_ver} or higher")
raise ValueError(f"ERROR: Server version {instance_version} is incompatible with SDK version {sdk_version}")
print(f"INFO: SDK version {sdk_version} is valid for Instance version {instance_version}")
Expand Down

0 comments on commit 806c4e4

Please sign in to comment.