Skip to content

Commit

Permalink
Using mocked version 0.0.0 for testing instead of unknown.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail committed Feb 12, 2024
1 parent 7754514 commit 21e3560
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion octoprint_octorelay/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ def get_version_from_git_archive(version_info):
release, *_ = sorted(version_tags) # prefer e.g. "2.0" over "2.0rc1"
return Version(release, dev=None, labels=None)
else:
return Version("unknown", dev=None, labels=["g{}".format(git_hash)])
# return Version("unknown", dev=None, labels=["g{}".format(git_hash)])
return Version("0.0.0", dev=None, labels=["g{}".format(git_hash)])


__version__ = get_version()
Expand Down

0 comments on commit 21e3560

Please sign in to comment.