@@ -99,19 +99,20 @@ swagger: ## Download swagger locally if necessary.
99
99
$(call go-get-tool,$(SWAGGER ) ,github.com/go-swagger/go-swagger/cmd/swagger@latest)
100
100
101
101
# Prepare release
102
+ include e2e-tests/release_versions
102
103
CERT_MANAGER_VER := $(shell grep -Eo "cert-manager v.* " go.mod|grep -Eo "[0-9]+\.[0-9]+\.[0-9]+")
103
104
release : manifests
104
105
$(SED ) -i " /CERT_MANAGER_VER/s/CERT_MANAGER_VER=\" .*/CERT_MANAGER_VER=\" $( CERT_MANAGER_VER) \" /" e2e-tests/functions
105
106
$(SED ) -i " /Version = \" /s/Version = \" .*/Version = \" $( VERSION) \" /" version/version.go
106
107
$(SED ) -i \
107
108
-e " s/crVersion: .*/crVersion: $( VERSION) /" \
108
- -e " /^spec:/,/^ image:/{s#image: .*#image: percona/percona-server-mongodb:@@SET_TAG@@ #}" deploy/cr-minimal.yaml
109
+ -e " /^spec:/,/^ image:/{s#image: .*#image: $( IMAGE_MONGOD70 ) #}" deploy/cr-minimal.yaml
109
110
$(SED ) -i \
110
111
-e " s/crVersion: .*/crVersion: $( VERSION) /" \
111
- -e " /^spec:/,/^ image:/{s#image: .*#image: percona/percona-server-mongodb:@@SET_TAG@@ #}" \
112
- -e " /^ backup:/,/^ image:/{s#image: .*#image: percona/percona-backup-mongodb:@@SET_TAG@@ #}" \
112
+ -e " /^spec:/,/^ image:/{s#image: .*#image: $( IMAGE_MONGOD70 ) #}" \
113
+ -e " /^ backup:/,/^ image:/{s#image: .*#image: $( IMAGE_BACKUP ) #}" \
113
114
-e " s#initImage: .*#initImage: percona/percona-server-mongodb-operator:$( VERSION) #g" \
114
- -e " /^ pmm:/,/^ image:/{s#image: .*#image: percona/pmm-client:@@SET_TAG@@ #}" deploy/cr.yaml
115
+ -e " /^ pmm:/,/^ image:/{s#image: .*#image: $( IMAGE_PMM_CLIENT ) #}" deploy/cr.yaml
115
116
116
117
# Prepare main branch after release
117
118
MAJOR_VER := $(shell grep -oE "crVersion: .* " deploy/cr.yaml|grep -oE "[0-9]+\.[0-9]+\.[0-9]+"|cut -d'.' -f1)
0 commit comments