diff --git a/.github/scripts/create-version.sh b/.github/scripts/create-version.sh index d187220f10..0369e3ac54 100755 --- a/.github/scripts/create-version.sh +++ b/.github/scripts/create-version.sh @@ -16,7 +16,8 @@ function create_version() { if [ -z "$NEXT_RELEASE_VERSION" ]; then echo "NEXT_RELEASE_VERSION is empty, use version from Cargo.toml" >&2 - export NEXT_RELEASE_VERSION=$(grep '^version = ' Cargo.toml | cut -d '"' -f 2 | head -n 1) + # NOTE: Need a `v` prefix for the version string. + export NEXT_RELEASE_VERSION=v$(grep '^version = ' Cargo.toml | cut -d '"' -f 2 | head -n 1) fi if [ -z "$NIGHTLY_RELEASE_PREFIX" ]; then