summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index 12de13f..80b09f4 100644
--- a/__init__.py
+++ b/__init__.py
@@ -16,7 +16,7 @@ class GitDescribe:
"""Check and return git describe value."""
result = subprocess.run(["git", "describe", "--tags"],
stdout=subprocess.PIPE, check=True)
- return result.stdout.decode('utf-8')
+ return result.stdout.decode('utf-8').strip()
def initialize(gen):