diff --git a/ci/scripts/build-installers b/ci/scripts/build-installers index e03e7d05052..69761405128 100755 --- a/ci/scripts/build-installers +++ b/ci/scripts/build-installers @@ -6,7 +6,7 @@ ROOT_DIR=$(pwd) OUT_DIR=${ROOT_DIR}/out RELEASE_DIR=${ROOT_DIR}/release INSTALLERS_DIR=${ROOT_DIR}/installers -VERSION=$(${OUT_DIR}/cf-linux-amd64 -v | cut -d' ' -f 3) +VERSION=$(${OUT_DIR}/cf-linux-amd64 -v | cut -d' ' -f 3 | cut -d'-' -f 1) echo "building windows-386 installer" (