No version
diff --git a/action/project_info.go b/action/project_info.go index 807a53d..5e0995e 100644 --- a/action/project_info.go +++ b/action/project_info.go
@@ -21,8 +21,6 @@ buffer.WriteString(conf.Home) case 'l': buffer.WriteString(conf.License) - case 'v': - buffer.WriteString(conf.Version) default: msg.Die("Invalid format %s", string(var_format)) }
diff --git a/cfg/config.go b/cfg/config.go index f37da19..afeed9a 100644 --- a/cfg/config.go +++ b/cfg/config.go
@@ -31,9 +31,6 @@ // When more than one license an SPDX expression can be used. License string `yaml:"license,omitempty"` - // Version provides the package version using semvers (http://semver.org/). - Version string `yaml:"version"` - // Owners is an array of owners for a project. See the Owner type for // more detail. These can be one or more people, companies, or other // organizations. @@ -63,7 +60,6 @@ Description string `yaml:"description,omitempty"` Home string `yaml:"homepage,omitempty"` License string `yaml:"license,omitempty"` - Version string `yaml:"version"` Owners Owners `yaml:"owners,omitempty"` Ignore []string `yaml:"ignore,omitempty"` Exclude []string `yaml:"excludeDirs,omitempty"` @@ -96,7 +92,6 @@ c.Name = newConfig.Name c.Description = newConfig.Description c.Home = newConfig.Home - c.Version = newConfig.Version c.License = newConfig.License c.Owners = newConfig.Owners c.Ignore = newConfig.Ignore
diff --git a/glide.go b/glide.go index 9a745fe..f42db3c 100644 --- a/glide.go +++ b/glide.go
@@ -606,12 +606,10 @@ %d - description %h - homepage %l - license - %v - version - + Examples: Given the project with the following glide.yaml: package: foo - version: 1.0 homepage: https://foo.io license: MIT description: Some foo description @@ -619,10 +617,10 @@ Then: glide info -f %n prints 'foo' - glide info -f "Version: %v" - prints 'Version: 1.0' - glide info -f "%n - %v - %d - %h - %l" - prints 'foo - 1.0 - Some foo description - https://foo.io - MIT'`, + glide info -f "Version: %l" + prints 'License: 1.0' + glide info -f "%n - %d - %h - %l" + prints 'foo - Some foo description - https://foo.io - MIT'`, }, }, Action: func(c *cli.Context) {