diff options
Diffstat (limited to 'vendor/github.com')
-rw-r--r-- | vendor/github.com/gogs/git-module/git.go | 2 | ||||
-rw-r--r-- | vendor/github.com/gogs/git-module/repo_tag.go | 2 |
2 files changed, 2 insertions, 2 deletions
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) |