Skip to content

Commit

Permalink
pkg,version: bump to use v0.4.x branch (operator-framework#974)
Browse files Browse the repository at this point in the history
**Description of the change:** Update version and gopkg files to use v0.4.x branch instead of v0.4.0 tag


**Motivation for the change:** This ensures that cherry-picked commits pushed to the branch are tested correctly instead of using the old v0.4.0 tag
  • Loading branch information
AlexNPavel authored and Shawn Hurley committed Mar 8, 2019
1 parent dd62151 commit e8bf7d9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions pkg/scaffold/ansible/gopkgtoml.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ func (s *GopkgToml) GetInput() (input.Input, error) {
const gopkgTomlTmpl = `[[constraint]]
name = "github.com/operator-framework/operator-sdk"
# The version rule is used for a specific release and the master branch for in between releases.
# branch = "master" #osdk_branch_annotation
version = "=v0.4.0" #osdk_version_annotation
branch = "v0.4.x" #osdk_branch_annotation
# version = "=v0.4.0" #osdk_version_annotation
[[override]]
name = "k8s.io/api"
Expand Down
4 changes: 2 additions & 2 deletions pkg/scaffold/gopkgtoml.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ required = [
[[constraint]]
name = "github.com/operator-framework/operator-sdk"
# The version rule is used for a specific release and the master branch for in between releases.
# branch = "master" #osdk_branch_annotation
version = "=v0.4.0" #osdk_version_annotation
branch = "v0.4.x" #osdk_branch_annotation
# version = "=v0.4.0" #osdk_version_annotation
[prune]
go-tests = true
Expand Down
4 changes: 2 additions & 2 deletions pkg/scaffold/gopkgtoml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ required = [
[[constraint]]
name = "github.com/operator-framework/operator-sdk"
# The version rule is used for a specific release and the master branch for in between releases.
# branch = "master" #osdk_branch_annotation
version = "=v0.4.0" #osdk_version_annotation
branch = "v0.4.x" #osdk_branch_annotation
# version = "=v0.4.0" #osdk_version_annotation
[prune]
go-tests = true
Expand Down
4 changes: 2 additions & 2 deletions pkg/scaffold/helm/gopkgtoml.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ func (s *GopkgToml) GetInput() (input.Input, error) {
const gopkgTomlTmpl = `[[constraint]]
name = "github.com/operator-framework/operator-sdk"
# The version rule is used for a specific release and the master branch for in between releases.
# branch = "master" #osdk_branch_annotation
version = "=v0.4.0" #osdk_version_annotation
branch = "v0.4.x" #osdk_branch_annotation
# version = "=v0.4.0" #osdk_version_annotation
[[override]]
name = "k8s.io/kubernetes"
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
package version

var (
Version = "v0.4.0"
Version = "v0.4.0+git"
)

0 comments on commit e8bf7d9

Please sign in to comment.