Skip to content

Commit

Permalink
still working to fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gerth2 committed Dec 11, 2023
1 parent 6b78555 commit a27f48c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- name: Build wheel
working-directory: ./photon-lib/py
run: |
git fetch --tags --force
python setup.py sdist bdist_wheel
- name: Upload artifacts
Expand Down
2 changes: 1 addition & 1 deletion photon-lib/py/setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
import subprocess

versionStr = subprocess.check_output(['git', 'describe']).decode('utf-8').strip()
versionStr = subprocess.check_output(['git', 'describe', '--tags', "--match=v*"]).decode('utf-8').strip()
print(f"Building version {versionStr}")

setup(
Expand Down

0 comments on commit a27f48c

Please sign in to comment.