Skip to content

Commit

Permalink
Merge pull request FRRouting#10472 from ton31337/fix/no_need_to_decorate
Browse files Browse the repository at this point in the history
tools: Skip decorating commits with references (branch name, remote)
  • Loading branch information
Jafaral committed Feb 5, 2022
2 parents 4333379 + 1988854 commit eef8006
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import getopt
import subprocess


def run(cmd):
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
rv = proc.communicate("")[0].decode("UTF-8")
Expand Down Expand Up @@ -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")

Expand Down

0 comments on commit eef8006

Please sign in to comment.