Skip to content

Commit

Permalink
pack firmware: rm newlines from description
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzwald committed Jul 9, 2023
1 parent b456466 commit c93c530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_firmwarezip.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def makezip(source, target, env):

# Get and clean the current commit message
try:
version_desc = subprocess.check_output(["git", "log", "-1", "--pretty=%B"], universal_newlines=True).strip().replace('"', '')
version_desc = subprocess.getoutput("git log -1 --pretty=%B | tr '\n' ' '")
except subprocess.CalledProcessError as e:
# Revert to full version if no commit msg or error
version_desc = version['FN_VERSION_FULL']
Expand Down

0 comments on commit c93c530

Please sign in to comment.