ci: fix stable check (#2019)

This commit is contained in:
Will Jones
2025-01-13 17:01:54 -08:00
committed by GitHub
parent 31f9c30ffb
commit 35da464591

View File

@@ -12,7 +12,7 @@ with open("Cargo.toml", "rb") as f:
elif isinstance(dep, dict):
# Version doesn't have the beta tag in it, so we instead look
# at the git tag.
version = dep["tag"]
version = dep.get('tag', dep.get('version'))
else:
raise ValueError("Unexpected type for dependency: " + str(dep))