Updated vendor directory
This commit is contained in:
2 files changed
+6
-2
No files matched your search
Generated
+1
-1
@@ -17,7 +17,7 @@
|
||||
branch = "master"
|
||||
name = "github.com/mikkeloscar/gopkgbuild"
|
||||
packages = ["."]
|
||||
revision = "56a112d1afcdea979889939526de04150d599bc1"
|
||||
revision = "9fbe9e0515b65906f121834b3e1e18fa0d2b2ab3"
|
||||
|
||||
[solve-meta]
|
||||
analyzer-name = "dep"
|
||||
|
||||
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user