Fix git tag warning when running make update after recent changes

This commit is contained in:
Brecht Van Lommel 2020-07-16 12:47:28 +02:00
parent 9c41744ef4
commit 6ff5943109
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ def git_branch(git_command):
def git_tag(git_command):
# Get current tag name.
try:
tag = subprocess.check_output([git_command, "describe", "--exact-match"])
tag = subprocess.check_output([git_command, "describe", "--exact-match"], stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e:
return None