chore: add the missing v prefix for NEXT_RELEASE_VERSION variable (#6160)

chore: add 'v' prefix for NEXT_RELEASE_VERSION variable
This commit is contained in:
zyy17
2025-05-22 18:33:14 +08:00
committed by GitHub
parent 791f530a78
commit 513ca951ee

View File

@@ -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