From b7f02b11620e58f3fda853acffb160ed22ab2bfb Mon Sep 17 00:00:00 2001 From: Michael Nairn Date: Mon, 18 Feb 2019 11:10:13 +0000 Subject: [PATCH] Bump version 0.0.3. Fix version in operator.yaml (v0.0.3) Add release instructions to README. --- Makefile | 2 +- README.md | 17 +++++++++++++++++ deploy/operator.yaml | 2 +- version/version.go | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ad392fe4..94a95532 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index 335705e2..3c655a0e 100644 --- a/README.md +++ b/README.md @@ -59,3 +59,20 @@ Start the installation with ``` $ oc create -f ``` + +## Release + +Update operator version files: + +* Bump [operator version](version/version.go) +```Version = ""``` +* Bump [makefile TAG](Makefile) +```TAG=``` +* Bump [operator image version](deploy/operator.yaml) +```image: quay.io/integreatly/gitea-operator:v``` + +Commit changes and open pull request. + +When the PR is accepted, create a new release tag: + +```git tag v && git push upstream v``` \ No newline at end of file diff --git a/deploy/operator.yaml b/deploy/operator.yaml index 0f134f7d..d7b2c225 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -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 diff --git a/version/version.go b/version/version.go index e3e130bf..cb1bb198 100644 --- a/version/version.go +++ b/version/version.go @@ -1,5 +1,5 @@ package version var ( - Version = "0.0.1" + Version = "0.0.3" )