mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 17:17:22 +01:00
Updated vendor directory
This commit is contained in:
parent
9f734bdf8d
commit
12bc784f60
2
Gopkg.lock
generated
2
Gopkg.lock
generated
@ -17,7 +17,7 @@
|
||||
branch = "master"
|
||||
name = "github.com/mikkeloscar/gopkgbuild"
|
||||
packages = ["."]
|
||||
revision = "56a112d1afcdea979889939526de04150d599bc1"
|
||||
revision = "9fbe9e0515b65906f121834b3e1e18fa0d2b2ab3"
|
||||
|
||||
[solve-meta]
|
||||
analyzer-name = "dep"
|
||||
|
6
vendor/github.com/mikkeloscar/gopkgbuild/version.go
generated
vendored
6
vendor/github.com/mikkeloscar/gopkgbuild/version.go
generated
vendored
@ -16,7 +16,11 @@ type CompleteVersion struct {
|
||||
}
|
||||
|
||||
func (c *CompleteVersion) String() string {
|
||||
return fmt.Sprintf("%d:%s-%s", c.Epoch, c.Version, c.Pkgrel)
|
||||
if c.Epoch > 0 {
|
||||
return fmt.Sprintf("%d:%s-%s", c.Epoch, c.Version, c.Pkgrel)
|
||||
}
|
||||
|
||||
return fmt.Sprintf("%s-%s", c.Version, c.Pkgrel)
|
||||
}
|
||||
|
||||
// NewCompleteVersion creates a CompleteVersion including basic version, epoch
|
||||
|
Loading…
Reference in New Issue
Block a user