From 3140ad9a6ae00714195b705988730f74d194e223 Mon Sep 17 00:00:00 2001 From: Reto Lehmann Date: Wed, 10 Jul 2024 09:25:05 +0200 Subject: [PATCH] Fix lint errors --- openshift/release/create-release-branch.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openshift/release/create-release-branch.sh b/openshift/release/create-release-branch.sh index 3dfeaf76698d..13793762981e 100755 --- a/openshift/release/create-release-branch.sh +++ b/openshift/release/create-release-branch.sh @@ -20,7 +20,7 @@ git fetch openshift main git checkout openshift/main -- .github/workflows openshift OWNERS_ALIASES OWNERS Makefile make generate-dockerfiles -make RELEASE=$release generate-release +make RELEASE="$release" generate-release git add .github/workflows openshift OWNERS_ALIASES OWNERS Makefile git commit -m "Add openshift specific files." @@ -30,9 +30,9 @@ PATCH_DIR="openshift/patches" if [ -d "openshift/patches-${release}" ]; then PATCH_DIR="openshift/patches-${release}" # Update the nightly test images to actual versioned images - sed -i "s/knative-nightly:knative/knative-${release}:knative/g" ${PATCH_DIR}/*.patch + sed -i "s/knative-nightly:knative/knative-${release}:knative/g" "${PATCH_DIR}"/*.patch fi -git apply $PATCH_DIR/* -make RELEASE=$release generate-release +git apply "$PATCH_DIR"/* +make RELEASE="$release" generate-release git add . git commit -am ":fire: Apply carried patches."