Skip to content

Commit c4e91c6

Browse files
authored
Fix version used in release (#1172)
1 parent e1ce66e commit c4e91c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
with:
8282
python-version: "3.x"
8383
- run: python -m pip install setuptools_scm
84-
- run: python -c "from setuptools_scm import get_version; print(get_version()); open('histomicstk/_version.py', 'w').write(f'__version__ = {get_version()!r}\n')"
84+
- run: python -c "from setuptools_scm import get_version; print(get_version()); open('histomicstk/_version.py', 'w').write(f'__version__ = {str(get_version()).split('+')[0]!r}\n')"
8585
- run: cat histomicstk/_version.py
8686
- shell: bash
8787
run: |

0 commit comments

Comments
 (0)