Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/client_theming.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIstván Váradi <ivaradi@users.noreply.github.com>2017-12-24 09:09:56 +0300
committerGitHub <noreply@github.com>2017-12-24 09:09:56 +0300
commita3580768f6b2514c5d9b53fec6152cbc18694106 (patch)
treec04aed3f2fafc987a25bcb2db12fc31dcc0e5d4e
parentab40efe1e1475efddd636c09251d8917627261da (diff)
The changelog generator script handles the case when more than one tags point to the same commit (#227)
-rwxr-xr-xlinux/debian/scripts/git2changelog.py4
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))