fix: [Update] force str tags

This commit is contained in:
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

View file

@ -197,7 +197,7 @@ def get_git_upper_tags_remote(current_tag, is_fork):
# add tag with last commit
if float(tag_val) >= float(current_tag):
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
list_upper_tags.sort()
return list_upper_tags