Skip to content

Commit 95bacc2

Browse files
author
Matt Rogers
committed
Makefile: Update OPM version to 1.20.0
The SDK-aligned version of OPM was too old for the file-based catalog commands. This sets the OPM version to download locally to 1.20.0.
1 parent 19c7965 commit 95bacc2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ export NAMESPACE=openshift-file-integrity
5656
# ======================
5757
SDK_BIN?=
5858
SDK_VERSION?=1.15.0
59+
# Ideally this should align with SDK_VERSION, but for now it needs to be newer.
60+
OPM_VERSION?=1.20.0
5961

6062
# Test variables
6163
# ==============
@@ -243,7 +245,7 @@ ifeq (,$(shell which opm 2>/dev/null))
243245
@{ \
244246
set -e ;\
245247
OS=$(shell go env GOOS) && ARCH=$(shell go env GOARCH) && \
246-
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v$(SDK_VERSION)/$${OS}-$${ARCH}-opm ;\
248+
curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v$(OPM_VERSION)/$${OS}-$${ARCH}-opm ;\
247249
chmod +x $(OPM) ;\
248250
}
249251
else

0 commit comments

Comments
 (0)