Skip to content
Snippets Groups Projects
Unverified Commit 59011c95 authored by Hidde Beydals's avatar Hidde Beydals Committed by GitHub
Browse files

Merge pull request #258 from fluxcd/ci-release-replace

ci: take "v" of RELEASE_VERSION into account
parents e6d553c8 39d5c9e5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment