浏览代码

vendor: update github.com/gogs/git-module

Unknwon 6 年之前
父节点
当前提交
078549518d
共有 5 个文件被更改,包括 7 次插入7 次删除
  1. 1 1
      gogs.go
  2. 1 1
      templates/.VERSION
  3. 1 1
      vendor/github.com/gogs/git-module/git.go
  4. 1 1
      vendor/github.com/gogs/git-module/repo_tag.go
  5. 3 3
      vendor/vendor.json

+ 1 - 1
gogs.go

@@ -16,7 +16,7 @@ import (
 	"github.com/gogs/gogs/pkg/setting"
 )
 
-const APP_VER = "0.11.53.0603"
+const APP_VER = "0.11.54.0609"
 
 func init() {
 	setting.AppVer = APP_VER

+ 1 - 1
templates/.VERSION

@@ -1 +1 @@
-0.11.53.0603
+0.11.54.0609

+ 1 - 1
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

+ 1 - 1
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)

+ 3 - 3
vendor/vendor.json

@@ -207,10 +207,10 @@
 			"revisionTime": "2017-03-01T03:54:11Z"
 		},
 		{
-			"checksumSHA1": "183Lk59tqgDzO3eZeer4g1w/hk0=",
+			"checksumSHA1": "8KekujhL9uUvM97PP6jToeeQi6M=",
 			"path": "github.com/gogs/git-module",
-			"revision": "c64f3cabc82d33dfdb0cd47a5dda4e29368f3da2",
-			"revisionTime": "2018-06-03T12:25:16Z"
+			"revision": "abc97c40967942aec90e470834436ff69e1888f2",
+			"revisionTime": "2018-06-09T01:58:34Z"
 		},
 		{
 			"checksumSHA1": "MLO0PyrK2MUO6A7Z9PxWuu43C/A=",