summaryrefslogtreecommitdiff
path: root/tools/release_notes.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/release_notes.py')
-rwxr-xr-xtools/release_notes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/release_notes.py b/tools/release_notes.py
index 7481cc18c3..973215b572 100755
--- a/tools/release_notes.py
+++ b/tools/release_notes.py
@@ -10,6 +10,7 @@ import os
import getopt
import subprocess
+
def run(cmd):
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
rv = proc.communicate("")[0].decode("UTF-8")
@@ -45,7 +46,7 @@ def main(argv):
tag = run(["git", "describe", "--abbrev=0"]).strip("\n")
chnglog = run(
- ["git", "log", "--no-merges", "--pretty=format:'%s%d'", tag + ".." + branch]
+ ["git", "log", "--no-merges", "--pretty=format:'%s'", tag + ".." + branch]
)
chnglog = chnglog.split("\n")