fix: [Update] force str tags

pull/486/head
Terrtia 2020-02-21 13:08:39 +01:00
parent ac3a531987
commit 7f64d57bbd
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ def get_git_upper_tags_remote(current_tag, is_fork):
# add tag with last commit # add tag with last commit
if float(tag_val) >= float(current_tag): if float(tag_val) >= float(current_tag):
dict_tags_commit[tag_val] = commit dict_tags_commit[tag_val] = commit
list_upper_tags = [(key, dict_tags_commit[key]) for key in dict_tags_commit] list_upper_tags = [(str(key), dict_tags_commit[key]) for key in dict_tags_commit]
# force update order # force update order
list_upper_tags.sort() list_upper_tags.sort()
return list_upper_tags return list_upper_tags