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.
  • Loading branch information
mikenairn committed Feb 18, 2019
1 parent d3d4534 commit b7f02b1
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 @@ ORG ?= integreatly
NAMESPACE ?= gitea
PROJECT=gitea-operator
SHELL= /bin/bash
TAG ?= 0.0.2
TAG ?= 0.0.3
PKG = github.com/integr8ly/gitea-operator
COMPILE_OUTPUT = build/_output/bin/gitea-operator

Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,20 @@ Start the installation with
```
$ oc create -f <path to your CR>
```
## 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/gitea-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: gitea-operator
containers:
- name: gitea-operator
image: quay.io/integreatly/gitea-operator:master
image: quay.io/integreatly/gitea-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 b7f02b1

Please sign in to comment.