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.4.
Browse files Browse the repository at this point in the history
Fix version in operator.yaml (v0.0.4)
Add release instructions to README.
Update travis build
  • Loading branch information
mikenairn committed Feb 18, 2019
1 parent 9b19235 commit e4e2361
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SHELL=/bin/bash
REG=quay.io
ORG=integreatly
IMAGE=tutorial-web-app-operator
TAG=latest
TAG=0.0.4
KUBE_CMD=oc apply -f
DEPLOY_DIR=deploy
OUT_STATIC_DIR=tmp/_output
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,20 @@ make image/build REG=custom-registry.io ORG=myusername IMAGE=image-name TAG=dev
```
make test/unit
```

## 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/tutorial-web-app-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 @@ -15,7 +15,7 @@ spec:
serviceAccountName: tutorial-web-app-operator
containers:
- name: tutorial-web-app-operator
image: quay.io/integreatly/tutorial-web-app-operator:master
image: quay.io/integreatly/tutorial-web-app-operator:v0.0.4
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.4"
)

0 comments on commit e4e2361

Please sign in to comment.