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 af9687e commit cb3bd21
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kontur/httptoolkitcore/_version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from os import environ

__version__ = environ.get("CI_COMMIT_TAG") or "0.dev0"

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

0 comments on commit cb3bd21

Please sign in to comment.