From 7652d4d3d024be025c63df1842edb36b8371826d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20N=C3=A9au?= Date: Thu, 19 Oct 2023 16:02:33 +0200 Subject: [PATCH] Update exact Fleet version when releasing against Rancher Since rancher PR #42304 [1], a Fleet version is now configured in Rancher as `CATTLE_FLEET_VERSION`, with `CATTLE_FLEET_MIN_VERSION` being deprecated and kept only for backward compatibility. [1]: https://github.com/rancher/rancher/pull/42304 --- .github/scripts/release-against-rancher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/release-against-rancher.sh b/.github/scripts/release-against-rancher.sh index 5c164bb8b2..3ee4b49d31 100755 --- a/.github/scripts/release-against-rancher.sh +++ b/.github/scripts/release-against-rancher.sh @@ -28,7 +28,7 @@ if [ ! -e ~/.gitconfig ]; then git config --global user.email fleet@suse.de fi -sed -i -e "s/ENV CATTLE_FLEET_MIN_VERSION=.*$/ENV CATTLE_FLEET_MIN_VERSION=${NEW_CHART_VERSION}+up${NEW_FLEET_VERSION}/g" package/Dockerfile +sed -i -e "s/ENV CATTLE_FLEET_VERSION=.*$/ENV CATTLE_FLEET_VERSION=${NEW_CHART_VERSION}+up${NEW_FLEET_VERSION}/g" package/Dockerfile git add package/Dockerfile