From 078549518d31ffc18e209230584640328e5a0420 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 9 Jun 2018 10:00:45 +0800 Subject: vendor: update github.com/gogs/git-module --- vendor/github.com/gogs/git-module/git.go | 2 +- vendor/github.com/gogs/git-module/repo_tag.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vendor/github.com') diff --git a/vendor/github.com/gogs/git-module/git.go b/vendor/github.com/gogs/git-module/git.go index 7d54d66e..5b141846 100644 --- a/vendor/github.com/gogs/git-module/git.go +++ b/vendor/github.com/gogs/git-module/git.go @@ -10,7 +10,7 @@ import ( "time" ) -const _VERSION = "0.6.6" +const _VERSION = "0.6.7" func Version() string { return _VERSION diff --git a/vendor/github.com/gogs/git-module/repo_tag.go b/vendor/github.com/gogs/git-module/repo_tag.go index 4cef496b..888d9894 100644 --- a/vendor/github.com/gogs/git-module/repo_tag.go +++ b/vendor/github.com/gogs/git-module/repo_tag.go @@ -96,7 +96,7 @@ func (repo *Repository) GetTag(name string) (*Tag, error) { func (repo *Repository) GetTags() ([]string, error) { cmd := NewCommand("tag", "-l") if version.Compare(gitVersion, "2.0.0", ">=") { - cmd.AddArguments("--sort=-v:refname") + cmd.AddArguments("--sort=-v:taggerdate") } stdout, err := cmd.RunInDir(repo.Path) -- cgit v1.2.3