summaryrefslogtreecommitdiffstats
path: root/tools/release_notes.py
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2022-02-01 21:42:10 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2022-02-04 22:24:03 +0100
commit1988854011ec018c8c2878d5d2ae06eb034f9f22 (patch)
tree65fe6000a1b0c2f95f6d06214d996b7740dbb5d3 /tools/release_notes.py
parentMerge pull request #10322 from iqras23/coverity (diff)
downloadfrr-1988854011ec018c8c2878d5d2ae06eb034f9f22.tar.xz
frr-1988854011ec018c8c2878d5d2ae06eb034f9f22.zip
tools: Skip decorating commits with references (branch name, remote)
I think we don't care about this in release notes. bgpd,pimd,isisd,nhrpd: Convert to vty_json() (origin/fix/vty_json) ospf6d: Fix memory leak for `show ipv6 ospf6 zebra json` (origin/fix/zebra_ospf6d_json_leak) Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
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 7481cc18c..973215b57 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")