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 837fce2 commit c215a98Copy full SHA for c215a98
.github/workflows/build.yaml
@@ -227,7 +227,7 @@ jobs:
227
with:
228
create-tag: false
229
version-command: |
230
- python -c "from pathlib import Path;print(Path('bioimageio/core/__init__.py').read_text().split('__version__ = \"')[1].split('\"')[0])"
+ python -c "from pathlib import Path;p = p_src if (p_src:=Path('src/bioimageio/core/__init__.py')).exists() else Path('bioimageio/core/__init__.py');print(p.read_text().split('__version__ = \"')[1].split('\"')[0])"
231
232
- name: Push tag
233
id: tag-version
0 commit comments