Exclude beta and RC release notes from author tallies

(except for pre-1.0.0, per previous commit)
This commit is contained in:
Jack Grigg
2017-12-21 00:25:29 +00:00
parent fd08c50247
commit 5d8ab776f0
2 changed files with 6 additions and 2 deletions

View File

@@ -70,6 +70,10 @@ def document_authors():
f.write('Zcash Contributors\n==================\n\n')
total_contrib = {}
for notes in os.listdir(os.path.join(doc_dir, 'release-notes')):
# Commits are duplicated across beta, RC and final release notes,
# except for the pre-launch release notes.
if ('-beta' in notes or '-rc' in notes) and '1.0.0-' not in notes:
continue
authors = authors_in_release_notes(notes)
for author in authors:
commits = int(authors[author])