From 39d5c9e525ddcb0e416ef84d99bfd1528fe59573 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Tue, 22 Sep 2020 11:36:42 +0200 Subject: [PATCH] ci: take "v" of RELEASE_VERSION into account --- .github/workflows/update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index b0335bba..5ca972e8 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -23,7 +23,7 @@ jobs: if [[ "${RELEASE_VERSION}" != "${CURRENT_VERSION}" ]]; then # bump kustomize - sed -i "s/\($1\/archive\/v\).*\(.zip\/\/$1-\).*\(\/config.*\)/\1${RELEASE_VERSION}\2${RELEASE_VERSION}\3/g" "manifests/bases/$1/kustomization.yaml" + sed -i "s/\($1\/archive\/\)v.*\(.zip\/\/$1-\).*\(\/config.*\)/\1${RELEASE_VERSION}\2${RELEASE_VERSION/v}\3/g" "manifests/bases/$1/kustomization.yaml" if [[ ! -z $(go list -m all | grep "github.com/fluxcd/$1/api" | awk '{print $2}') ]]; then # bump go mod