Skip to content

Commit

Permalink
Update OSM-Arc version check for beta and CI tags (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
nshankar13 authored Sep 19, 2023
1 parent a64f0e4 commit bf020ff
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ def _validate_tested_distro(cmd, cluster_resource_group_name, cluster_name, exte
ext_str = str(extension_version)

# Don't parse version for test and CI tags
if "pr" not in ext_str and "release" not in ext_str and version.parse(ext_str) <= version.parse("0.8.3"):
if "pr" in ext_str or "release" in ext_str or "beta" in ext_str:
return

if version.parse(ext_str) <= version.parse("0.8.3"):
logger.warning(field_unavailable_error)
return

Expand Down

0 comments on commit bf020ff

Please sign in to comment.