diff options
author | Unknwon <u@gogs.io> | 2018-06-09 10:00:45 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-06-09 10:00:45 +0800 |
commit | 078549518d31ffc18e209230584640328e5a0420 (patch) | |
tree | 22b2bdc840d7ff0029220905a77b9fb1e531cb33 /vendor/github.com | |
parent | 4c844081f3f635f454e1040a568dc03f1a427f58 (diff) |
vendor: update github.com/gogs/git-module
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) |