diff --git a/script/release.sh b/script/release.sh index 8f08eeb281..14bec2a54f 100755 --- a/script/release.sh +++ b/script/release.sh @@ -7,7 +7,7 @@ set -ex # In other words, if we have two consecutive releases the latest tag in the second release is going to point to an invalid # tag (because there will not be images tagged with the previous release tag). LATEST_TAG=$(git tag | sed 's#[^/]*/##' | sort | tail -n 1) -FLYTEKIT_TAG=$(curl --silent "https://api.github.com/repos/flyteorg/flytekit/releases/latest" | jq -r .tag_name) +FLYTEKIT_TAG=$(curl --silent "https://api.github.com/repos/flyteorg/flytekit/releases/latest" | jq -r .tag_name | sed 's/^v//') FLYTECONSOLE_TAG=$(curl --silent "https://api.github.com/repos/flyteorg/flyteconsole/releases/latest" | jq -r .tag_name) # bump latest release of flyte component in kustomize