Skip to content

Commit

Permalink
Use full-revisonid if version is unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
martwo committed Jul 17, 2023
1 parent f9b6770 commit 792d60c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

def get_skyllh_version():
import skyllh
if skyllh.__version__ == '0+unknown':
from skyllh import _version
return _version.get_versions()['full-revisionid']
return skyllh.__version__


Expand Down

0 comments on commit 792d60c

Please sign in to comment.