We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbea149 commit ae5c800Copy full SHA for ae5c800
.github/workflows/build.yaml
@@ -280,6 +280,11 @@ jobs:
280
valid = existing_tag.count("v") == 1 and existing_tag.count(".") == 2 and all(part.isdigit() for part in existing_tag.lstrip("v").split("."))
281
if not valid:
282
raise Exception(f"Current commit has invalid version tag {existing_tag}.")
283
+
284
+ source_version = Path('src/bioimageio/core/__init__.py').read_text().split('__version__ = \"')[1].split('\"')[0]
285
+ if existing_tag != f"v{source_version}":
286
+ raise Exception(f"Version tag {existing_tag} does not match source version {source_version}.")
287
288
new_version = existing_tag
289
else:
290
new_version = "${{ steps.tag-version.outputs.tag }}"
0 commit comments