Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Bump version 0.0.3.
Browse files Browse the repository at this point in the history
Fix version in operator.yaml (v0.0.3)
Add release instructions to README.
Update travis build
  • Loading branch information
mikenairn committed Feb 18, 2019
1 parent ee9f89e commit 8043bc7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ NAMESPACE=rhsso
PROJECT=keycloak-operator
REG=quay.io
SHELL=/bin/bash
TAG=0.0.2
TAG=0.0.3
PKG=github.com/integr8ly/keycloak-operator
TEST_DIRS?=$(shell sh -c "find $(TOP_SRC_DIRS) -name \\*_test.go -exec dirname {} \\; | sort | uniq")
TEST_POD_NAME=keycloak-operator-test
Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,22 @@ docker push myimage
#run the test pod
make test/e2e
```

## Release

Update operator version files:

* Bump [operator version](version/version.go)
```Version = "<version>"```
* Bump [makefile TAG](Makefile)
```TAG=<version>```
* Bump [operator image version](deploy/operator.yaml)
```image: quay.io/integreatly/keycloak-operator:v<version>```

Commit changes and open pull request.

When the PR is accepted, create a new release tag:

```git tag v<version> && git push upstream v<version>```


2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: keycloak-operator
image: quay.io/integreatly/keycloak-operator:master
image: quay.io/integreatly/keycloak-operator:v0.0.3
ports:
- containerPort: 60000
name: metrics
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package version

var (
Version = "0.0.1"
Version = "0.0.3"
)

0 comments on commit 8043bc7

Please sign in to comment.