Merge "Fix sorting of git versions"

This commit is contained in:
Jenkins 2017-07-04 16:32:22 +00:00 committed by Gerrit Code Review
commit 7d734acb0f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ def _get_other_versions(app):
if not app.config.html_theme_options.get('show_other_versions', False):
return []
git_cmd = ["git", "tag", "--merged"]
git_cmd = ["git", "tag", "--sort=v:refname", "--merged"]
try:
raw_version_list = subprocess.Popen(
git_cmd, stdout=subprocess.PIPE).communicate()[0]