Skip to content

Commit

Permalink
*: remove plugin patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
estroz committed Jun 3, 2020
1 parent 1972f4c commit c3fb531
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (c *cli) initialize() error {
// In case 1, default plugins will be used to determine which plugin to use.
// In case 2, the value passed to --plugins is used.
// For all other commands, a config's 'layout' key is used. Since both
// layout and --plugins values can be short (ex. "go/v2.0.0") or unversioned
// layout and --plugins values can be short (ex. "go/v2.0") or unversioned
// (ex. "go.kubebuilder.io") keys or both, their values may need to be
// resolved to known plugins by key.
// Default plugins are checked first so any input key that has more than one
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/v2/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

const (
pluginName = "go" + plugin.DefaultNameQualifier
pluginVersion = "v2.0.0"
pluginVersion = "v2.0"
)

var supportedProjectVersions = []string{config.Version2, config.Version3Alpha}
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3-addon/PROJECT
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
domain: testproject.org
layout: go.kubebuilder.io/v2.0.0
layout: go.kubebuilder.io/v2.0
repo: sigs.k8s.io/kubebuilder/testdata/project-v3-addon
resources:
- group: crew
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3-multigroup/PROJECT
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
domain: testproject.org
layout: go.kubebuilder.io/v2.0.0
layout: go.kubebuilder.io/v2.0
multigroup: true
repo: sigs.k8s.io/kubebuilder/testdata/project-v3-multigroup
resources:
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3/PROJECT
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
domain: testproject.org
layout: go.kubebuilder.io/v2.0.0
layout: go.kubebuilder.io/v2.0
repo: sigs.k8s.io/kubebuilder/testdata/project-v3
resources:
- group: crew
Expand Down

0 comments on commit c3fb531

Please sign in to comment.