Skip to content

Commit

Permalink
git on github action is poopy
Browse files Browse the repository at this point in the history
  • Loading branch information
gerth2 committed Dec 11, 2023
1 parent ddfdfbf commit a1f1ffd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
- name: Build wheel
working-directory: ./photon-lib/py
run: |
git fetch
git fetch --tags --force
python setup.py sdist bdist_wheel
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', '--tags', "--match=v*"]).decode('utf-8').strip()
versionStr = subprocess.check_output(['git', 'describe', '--tags', "--match=v*", "--always"]).decode('utf-8').strip()
print(f"Building version {versionStr}")

setup(
Expand Down

0 comments on commit a1f1ffd

Please sign in to comment.