diff options
author | István Váradi <ivaradi@users.noreply.github.com> | 2017-12-24 09:09:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-24 09:09:56 +0300 |
commit | a3580768f6b2514c5d9b53fec6152cbc18694106 (patch) | |
tree | c04aed3f2fafc987a25bcb2db12fc31dcc0e5d4e | |
parent | ab40efe1e1475efddd636c09251d8917627261da (diff) |
The changelog generator script handles the case when more than one tags point to the same commit (#227)
-rwxr-xr-x | linux/debian/scripts/git2changelog.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/debian/scripts/git2changelog.py b/linux/debian/scripts/git2changelog.py index 52adffb..6b982fe 100755 --- a/linux/debian/scripts/git2changelog.py +++ b/linux/debian/scripts/git2changelog.py @@ -64,7 +64,9 @@ def collectEntries(baseCommit, baseVersion, kind): result = processVersionTag(tag) if result: lastVersionTag = tag - (baseVersion, kind) = result + (b, k) = result + if b>baseVersion or (k=="release" and kind=="beta"): + (baseVersion, kind) = result entries.append((commit, name, email, date, revdate, subject, baseVersion, kind)) |