Skip to content

Commit d0ceb38

Browse files
[Build] Fix release pipeline failing annotation (#28272)
Signed-off-by: simon-mo <simon.mo@hey.com> Signed-off-by: Simon Mo <simon.mo@hey.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 155ad56 commit d0ceb38

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.buildkite/scripts/annotate-release.sh

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,23 @@
22

33
set -ex
44

5-
# Get release version and strip leading 'v' if present
6-
RELEASE_VERSION=$(buildkite-agent meta-data get release-version | sed 's/^v//')
7-
8-
if [ -z "$RELEASE_VERSION" ]; then
9-
echo "Error: RELEASE_VERSION is empty. 'release-version' metadata might not be set or is invalid."
10-
exit 1
5+
# Get release version, default to 1.0.0.dev for nightly/per-commit builds
6+
RELEASE_VERSION=$(buildkite-agent meta-data get release-version 2>/dev/null | sed 's/^v//')
7+
if [ -z "${RELEASE_VERSION}" ]; then
8+
RELEASE_VERSION="1.0.0.dev"
119
fi
1210

1311
buildkite-agent annotate --style 'info' --context 'release-workflow' << EOF
14-
To download the wheel:
12+
To download the wheel (by commit):
13+
\`\`\`
14+
aws s3 cp s3://vllm-wheels/${BUILDKITE_COMMIT}/vllm-${RELEASE_VERSION}-cp38-abi3-manylinux1_x86_64.whl .
15+
aws s3 cp s3://vllm-wheels/${BUILDKITE_COMMIT}/vllm-${RELEASE_VERSION}-cp38-abi3-manylinux2014_aarch64.whl .
16+
17+
aws s3 cp s3://vllm-wheels/${BUILDKITE_COMMIT}/vllm-${RELEASE_VERSION}+cu129-cp38-abi3-manylinux1_x86_64.whl .
18+
aws s3 cp s3://vllm-wheels/${BUILDKITE_COMMIT}/vllm-${RELEASE_VERSION}+cu129-cp38-abi3-manylinux1_x86_64.whl .
19+
\`\`\`
20+
21+
To download the wheel (by version):
1522
\`\`\`
1623
aws s3 cp s3://vllm-wheels/${RELEASE_VERSION}/vllm-${RELEASE_VERSION}-cp38-abi3-manylinux1_x86_64.whl .
1724
aws s3 cp s3://vllm-wheels/${RELEASE_VERSION}/vllm-${RELEASE_VERSION}-cp38-abi3-manylinux2014_aarch64.whl .

0 commit comments

Comments
 (0)