mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-04-25 14:34:04 +08:00
fix creation of changelog
This commit is contained in:
parent
cd50a0b0c8
commit
c56b488c8d
@ -21,8 +21,10 @@ import argparse
|
|||||||
def git_tags():
|
def git_tags():
|
||||||
args = ["git", "tag", '-l']
|
args = ["git", "tag", '-l']
|
||||||
tags = subprocess.check_output(args)
|
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.reverse()
|
||||||
|
tags = [".".join([str(X) for X in tag]) for tag in tags]
|
||||||
return tags
|
return tags
|
||||||
|
|
||||||
def git_log(fromtag,totag):
|
def git_log(fromtag,totag):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user