mirror of
https://github.com/gogs/gogs.git
synced 2025-05-31 11:42:13 +00:00
vendor: update github.com/gogs/git-module
This commit is contained in:
parent
992ea5802a
commit
f4f4edf276
2
gogs.go
2
gogs.go
@ -16,7 +16,7 @@ import (
|
|||||||
"github.com/gogs/gogs/pkg/setting"
|
"github.com/gogs/gogs/pkg/setting"
|
||||||
)
|
)
|
||||||
|
|
||||||
const APP_VER = "0.11.58.0618"
|
const APP_VER = "0.11.58.0625"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
setting.AppVer = APP_VER
|
setting.AppVer = APP_VER
|
||||||
|
@ -1 +1 @@
|
|||||||
0.11.58.0618
|
0.11.58.0625
|
||||||
|
2
vendor/github.com/gogs/git-module/git.go
generated
vendored
2
vendor/github.com/gogs/git-module/git.go
generated
vendored
@ -10,7 +10,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
const _VERSION = "0.6.7"
|
const _VERSION = "0.6.8"
|
||||||
|
|
||||||
func Version() string {
|
func Version() string {
|
||||||
return _VERSION
|
return _VERSION
|
||||||
|
4
vendor/github.com/gogs/git-module/repo_tag.go
generated
vendored
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.
|
// GetTags returns all tags of the repository.
|
||||||
func (repo *Repository) GetTags() ([]string, error) {
|
func (repo *Repository) GetTags() ([]string, error) {
|
||||||
cmd := NewCommand("tag", "-l")
|
cmd := NewCommand("tag", "-l")
|
||||||
if version.Compare(gitVersion, "2.0.0", ">=") {
|
if version.Compare(gitVersion, "2.4.9", ">=") {
|
||||||
cmd.AddArguments("--sort=-v:taggerdate")
|
cmd.AddArguments("--sort=-v:taggerdate")
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -107,7 +107,7 @@ func (repo *Repository) GetTags() ([]string, error) {
|
|||||||
tags := strings.Split(stdout, "\n")
|
tags := strings.Split(stdout, "\n")
|
||||||
tags = tags[:len(tags)-1]
|
tags = tags[:len(tags)-1]
|
||||||
|
|
||||||
if version.Compare(gitVersion, "2.0.0", "<") {
|
if version.Compare(gitVersion, "2.4.9", "<") {
|
||||||
version.Sort(tags)
|
version.Sort(tags)
|
||||||
|
|
||||||
// Reverse order
|
// Reverse order
|
||||||
|
6
vendor/vendor.json
vendored
6
vendor/vendor.json
vendored
@ -207,10 +207,10 @@
|
|||||||
"revisionTime": "2017-03-01T03:54:11Z"
|
"revisionTime": "2017-03-01T03:54:11Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "8KekujhL9uUvM97PP6jToeeQi6M=",
|
"checksumSHA1": "dlSQtPgdbhxV8VAcE5YV3aLgSew=",
|
||||||
"path": "github.com/gogs/git-module",
|
"path": "github.com/gogs/git-module",
|
||||||
"revision": "abc97c40967942aec90e470834436ff69e1888f2",
|
"revision": "73275fa99ef150d697b7fc81245e22b0319622ae",
|
||||||
"revisionTime": "2018-06-09T01:58:34Z"
|
"revisionTime": "2018-06-25T11:56:28Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "MLO0PyrK2MUO6A7Z9PxWuu43C/A=",
|
"checksumSHA1": "MLO0PyrK2MUO6A7Z9PxWuu43C/A=",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user