From 19c0c721e02ce19a4626756c7fef243487e04d22 Mon Sep 17 00:00:00 2001 From: Quentin Barrand Date: Thu, 16 Nov 2023 11:55:59 +0100 Subject: [PATCH] Do not set createdAt manually in the CSV (#641) (#642) operator-sdk now sets that field for us. Make new environment variables for the signer and worker image names mandatory. --- hack/release-operatorhub | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/hack/release-operatorhub b/hack/release-operatorhub index 37c8de7a7..6269f2dfc 100755 --- a/hack/release-operatorhub +++ b/hack/release-operatorhub @@ -14,21 +14,17 @@ make_output_dir () { fi } -created_at=$(date +'%Y-%m-%d %H:%M:%S') -readonly created_at - replace_csv () { local -r container_image=$1 local -r csv_path=$2 - yq -i " - .metadata.annotations.containerImage = \"$container_image\" | - .metadata.annotations.createdAt = \"$created_at\"" \ - "$csv_path" + yq -i ".metadata.annotations.containerImage = \"$container_image\"" "$csv_path" } : "$IMG" : "$HUB_IMG" +: "$SIGNER_IMG" +: "$WORKER_IMG" : "$VERSION" # KMM