diff options
author | Daniel Lindsley <daniel@toastdriven.com> | 2014-01-10 14:29:36 -0800 |
---|---|---|
committer | Daniel Lindsley <daniel@toastdriven.com> | 2014-01-10 14:29:36 -0800 |
commit | 5b3d2053d443fc29271b2045b09adb515949394e (patch) | |
tree | 45bacc035380aa1205392006f03f3e820b3c8cc5 /scripts/git-release-notes.py | |
parent | 487ea4e04f35f6a1d7c7d3a1850466e3ed95a440 (diff) | |
parent | 9f4e4e76c49db73a743039412bbb04da0fc7f4fe (diff) | |
download | boto-2.23.0.tar.gz |
Merge branch 'release-2.23.0'2.23.0
Diffstat (limited to 'scripts/git-release-notes.py')
-rwxr-xr-x | scripts/git-release-notes.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/git-release-notes.py b/scripts/git-release-notes.py index 5e4c3acb..3079f845 100755 --- a/scripts/git-release-notes.py +++ b/scripts/git-release-notes.py @@ -51,8 +51,11 @@ removals = [ changes = '' for commit, message in commit_list: append = [] + issues = set() for issue in ISSUE.findall(message): - append.append(':issue:`{issue}`'.format(issue=issue)) + if issue not in issues: + append.append(':issue:`{issue}`'.format(issue=issue)) + issues.add(issue) append.append(':sha:`{commit}`'.format(commit=commit)) append = ' (' + ', '.join(append) + ')' |