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

Commit b7f02b1

Browse files
committed
Bump version 0.0.3.
Fix version in operator.yaml (v0.0.3) Add release instructions to README.
1 parent d3d4534 commit b7f02b1

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ORG ?= integreatly
22
NAMESPACE ?= gitea
33
PROJECT=gitea-operator
44
SHELL= /bin/bash
5-
TAG ?= 0.0.2
5+
TAG ?= 0.0.3
66
PKG = github.com/integr8ly/gitea-operator
77
COMPILE_OUTPUT = build/_output/bin/gitea-operator
88

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,20 @@ Start the installation with
5959
```
6060
$ oc create -f <path to your CR>
6161
```
62+
63+
## Release
64+
65+
Update operator version files:
66+
67+
* Bump [operator version](version/version.go)
68+
```Version = "<version>"```
69+
* Bump [makefile TAG](Makefile)
70+
```TAG=<version>```
71+
* Bump [operator image version](deploy/operator.yaml)
72+
```image: quay.io/integreatly/gitea-operator:v<version>```
73+
74+
Commit changes and open pull request.
75+
76+
When the PR is accepted, create a new release tag:
77+
78+
```git tag v<version> && git push upstream v<version>```

deploy/operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
serviceAccountName: gitea-operator
1616
containers:
1717
- name: gitea-operator
18-
image: quay.io/integreatly/gitea-operator:master
18+
image: quay.io/integreatly/gitea-operator:v0.0.3
1919
ports:
2020
- containerPort: 60000
2121
name: metrics

version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package version
22

33
var (
4-
Version = "0.0.1"
4+
Version = "0.0.3"
55
)

0 commit comments

Comments
 (0)