Skip to content

Commit

Permalink
*: release v0.10.0 (#1800)
Browse files Browse the repository at this point in the history
* *: release v0.10.0

* release.sh: fix install guide check

* CHANGELOG.md: removed empty sections
  • Loading branch information
joelanford authored Aug 8, 2019
1 parent ae7fab6 commit ff80b17
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 14 deletions.
6 changes: 1 addition & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Unreleased
## v0.10.0

### Added

Expand All @@ -10,10 +10,6 @@
- **Breaking change:** CSV config field `role-path` is now `role-paths` and takes a list of strings. Users can now specify multiple `Role` and `ClusterRole` manifests using `role-paths`. ([#1704](https://github.com/operator-framework/operator-sdk/pull/1704))
- Make `ready` package idempotent. Now, a user can call `Set()` or `Unset()` to set the operator's readiness without knowing the current state. ([#1761](https://github.com/operator-framework/operator-sdk/pull/1761))

### Deprecated

### Removed

### Bug Fixes

- Check if `metadata.annotations['alm-examples']` is non-empty before creating contained CR manifests in the scorecard. ([#1789](https://github.com/operator-framework/operator-sdk/pull/1789))
Expand Down
2 changes: 1 addition & 1 deletion doc/user/install-operator-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ brew install operator-sdk

```sh
# Set the release version variable
$ RELEASE_VERSION=v0.9.0
$ RELEASE_VERSION=v0.10.0
# Linux
$ curl -OJL https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu
# macOS
Expand Down
2 changes: 2 additions & 0 deletions internal/pkg/scaffold/ansible/go_mod.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ replace (
// resolve it correctly.
github.com/prometheus/prometheus => github.com/prometheus/prometheus d3245f15022551c6fc8281766ea62db4d71e2747
)
replace github.com/operator-framework/operator-sdk => github.com/operator-framework/operator-sdk v0.10.0
`

func PrintGoMod(asFile bool) error {
Expand Down
4 changes: 2 additions & 2 deletions internal/pkg/scaffold/ansible/gopkgtoml.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,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.9.0" #osdk_version_annotation
# branch = "master" #osdk_branch_annotation
version = "=v0.10.0" #osdk_version_annotation
[[override]]
name = "k8s.io/api"
Expand Down
2 changes: 2 additions & 0 deletions internal/pkg/scaffold/go_mod.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ replace (
// resolve it correctly.
github.com/prometheus/prometheus => github.com/prometheus/prometheus d3245f15022551c6fc8281766ea62db4d71e2747
)
replace github.com/operator-framework/operator-sdk => github.com/operator-framework/operator-sdk v0.10.0
`

func PrintGoMod(asFile bool) error {
Expand Down
4 changes: 2 additions & 2 deletions internal/pkg/scaffold/gopkgtoml.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,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.9.0" #osdk_version_annotation
# branch = "master" #osdk_branch_annotation
version = "=v0.10.0" #osdk_version_annotation
[prune]
go-tests = true
Expand Down
2 changes: 2 additions & 0 deletions internal/pkg/scaffold/helm/go_mod.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ replace (
// resolve it correctly.
github.com/prometheus/prometheus => github.com/prometheus/prometheus d3245f15022551c6fc8281766ea62db4d71e2747
)
replace github.com/operator-framework/operator-sdk => github.com/operator-framework/operator-sdk v0.10.0
`

func PrintGoMod(asFile bool) error {
Expand Down
4 changes: 2 additions & 2 deletions internal/pkg/scaffold/helm/gopkgtoml.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,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.9.0" #osdk_version_annotation
# branch = "master" #osdk_branch_annotation
version = "=v0.10.0" #osdk_version_annotation
[[override]]
name = "k8s.io/api"
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ if [[ "$VER" != "$CURR_VER_HELM_DEP" ]]; then
exit 1
fi

CURR_VER_INSTALL_GUIDE_FILE="$(sed -nr 's/RELEASE_VERSION=(.+)/\1/p' "$INSTALL_GUIDE_FILE" | tr -d ' \t\n')"
CURR_VER_INSTALL_GUIDE_FILE="$(sed -nr 's/.*RELEASE_VERSION=(.+)/\1/p' "$INSTALL_GUIDE_FILE" | tr -d ' \t\n')"
if [[ "$VER" != "$CURR_VER_INSTALL_GUIDE_FILE" ]]; then
echo "version '$VER' is not set correctly in $INSTALL_GUIDE_FILE"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package version

var (
Version = "v0.9.0+git"
Version = "v0.10.0"
GitVersion = "unknown"
GitCommit = "unknown"
)

0 comments on commit ff80b17

Please sign in to comment.