From c56b488c8d6eb072c08fff2f6b8f5b436059ab15 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Thu, 25 Feb 2016 17:52:47 -0500 Subject: [PATCH] fix creation of changelog --- tools/git2debcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/git2debcl b/tools/git2debcl index ca7bd4a5..27ad585f 100755 --- a/tools/git2debcl +++ b/tools/git2debcl @@ -21,8 +21,10 @@ import argparse def git_tags(): args = ["git", "tag", '-l'] tags = subprocess.check_output(args) - tags = tags.split() + tags = [[int(X) for X in tag.split(".")] for tag in tags.split()] + tags.sort() tags.reverse() + tags = [".".join([str(X) for X in tag]) for tag in tags] return tags def git_log(fromtag,totag):