Browse Source

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

pull/5315/head
Unknwon 6 years ago
parent
commit
f4f4edf276
No known key found for this signature in database
GPG Key ID: 7A02C406FAC875A2
  1. 2
      gogs.go
  2. 2
      templates/.VERSION
  3. 2
      vendor/github.com/gogs/git-module/git.go
  4. 4
      vendor/github.com/gogs/git-module/repo_tag.go
  5. 6
      vendor/vendor.json

2
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

2
templates/.VERSION

@ -1 +1 @@
0.11.58.0618
0.11.58.0625

2
vendor/github.com/gogs/git-module/git.go generated vendored

@ -10,7 +10,7 @@ import (
"time"
)
const _VERSION = "0.6.7"
const _VERSION = "0.6.8"
func Version() string {
return _VERSION

4
vendor/github.com/gogs/git-module/repo_tag.go generated vendored

@ -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

6
vendor/vendor.json vendored

@ -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=",

Loading…
Cancel
Save