diff --git a/scripts/version.sh b/scripts/version.sh index 4ae8feece3..b47e1b9d5b 100755 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -35,5 +35,5 @@ if [[ -n "$GIT_TAG" ]]; then VERSION=$GIT_TAG else VERSION="$(sed -e 's/[-+].*//' <<< "$VERSION_K8S")+$COMMIT$DIRTY" - VERSION_TAG="$(sed -e 's/+/-/g' <<< "$VERSION")" fi +VERSION_TAG="$(sed -e 's/+/-/g' <<< "$VERSION")"