From f4f4edf2766d0e4588176df17743f3e4a3b1ed9f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 25 Jun 2018 19:58:40 +0800 Subject: [PATCH] vendor: update github.com/gogs/git-module --- gogs.go | 2 +- templates/.VERSION | 2 +- vendor/github.com/gogs/git-module/git.go | 2 +- vendor/github.com/gogs/git-module/repo_tag.go | 4 ++-- vendor/vendor.json | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gogs.go b/gogs.go index aea01edf6..3afa47187 100644 --- a/gogs.go +++ b/gogs.go @@ -16,7 +16,7 @@ import ( "github.com/gogs/gogs/pkg/setting" ) -const APP_VER = "0.11.58.0618" +const APP_VER = "0.11.58.0625" func init() { setting.AppVer = APP_VER diff --git a/templates/.VERSION b/templates/.VERSION index 501d0dd04..077b12928 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.11.58.0618 +0.11.58.0625 diff --git a/vendor/github.com/gogs/git-module/git.go b/vendor/github.com/gogs/git-module/git.go index 5b1418468..de1da49a0 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.7" +const _VERSION = "0.6.8" 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 888d9894e..57de8eb3c 100644 --- a/vendor/github.com/gogs/git-module/repo_tag.go +++ b/vendor/github.com/gogs/git-module/repo_tag.go @@ -95,7 +95,7 @@ func (repo *Repository) GetTag(name string) (*Tag, error) { // GetTags returns all tags of the repository. func (repo *Repository) GetTags() ([]string, error) { cmd := NewCommand("tag", "-l") - if version.Compare(gitVersion, "2.0.0", ">=") { + if version.Compare(gitVersion, "2.4.9", ">=") { cmd.AddArguments("--sort=-v:taggerdate") } @@ -107,7 +107,7 @@ func (repo *Repository) GetTags() ([]string, error) { tags := strings.Split(stdout, "\n") tags = tags[:len(tags)-1] - if version.Compare(gitVersion, "2.0.0", "<") { + if version.Compare(gitVersion, "2.4.9", "<") { version.Sort(tags) // Reverse order diff --git a/vendor/vendor.json b/vendor/vendor.json index 49cfbbef3..faa6d55d2 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -207,10 +207,10 @@ "revisionTime": "2017-03-01T03:54:11Z" }, { - "checksumSHA1": "8KekujhL9uUvM97PP6jToeeQi6M=", + "checksumSHA1": "dlSQtPgdbhxV8VAcE5YV3aLgSew=", "path": "github.com/gogs/git-module", - "revision": "abc97c40967942aec90e470834436ff69e1888f2", - "revisionTime": "2018-06-09T01:58:34Z" + "revision": "73275fa99ef150d697b7fc81245e22b0319622ae", + "revisionTime": "2018-06-25T11:56:28Z" }, { "checksumSHA1": "MLO0PyrK2MUO6A7Z9PxWuu43C/A=",