diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2022-02-04 19:41:43 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-04 19:41:43 -0600 |
| commit | eef8006341e85d80d0a3c21a642ced3b73a42375 (patch) | |
| tree | fcb1e509d6dbb9d45b06fe40bffd39b280c0133f /tools/release_notes.py | |
| parent | 4333379fca57822b8fdbee61d7ddd73bd94faad0 (diff) | |
| parent | 1988854011ec018c8c2878d5d2ae06eb034f9f22 (diff) | |
Merge pull request #10472 from ton31337/fix/no_need_to_decorate
tools: Skip decorating commits with references (branch name, remote)
Diffstat (limited to 'tools/release_notes.py')
| -rwxr-xr-x | tools/release_notes.py | 3 |
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") |
