Skip to content

Commit

Permalink
fix _version
Browse files Browse the repository at this point in the history
  • Loading branch information
Станислав Михайлов committed Sep 19, 2024
1 parent a1f82ad commit b20af2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kontur/httptoolkitcore/_version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from os import environ

ref_type = environ.get("GITHUB_REF_TYPE", False)
if ref_type == "tag":
__version__ = environ.get("GITHUB_REF_NAME") or "0.dev0"
ref_type = environ.get("GITHUB_REF_TYPE")

__version__ = environ.get("GITHUB_REF_NAME") if ref_type == "tag" else "0.dev0"

0 comments on commit b20af2c

Please sign in to comment.