Skip to content

Commit

Permalink
Fixed versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen1999 committed Jan 19, 2025
1 parent a67a843 commit 536e223
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion suricata_check/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ def get_version() -> str:
try:
import setuptools_git_versioning

v = str(setuptools_git_versioning.get_version(root=SURICATA_CHECK_DIR))
v = str(
setuptools_git_versioning.get_version(
root=os.path.join(SURICATA_CHECK_DIR, "..")
)
)
_logger.debug(
"Detected suricata-check version using setuptools_git_versioning: %s", v
)
Expand Down

0 comments on commit 536e223

Please sign in to comment.