Skip to content

Commit

Permalink
allow previous behavior
Browse files Browse the repository at this point in the history
Signed-off-by: simon-mo <[email protected]>
  • Loading branch information
simon-mo committed Oct 24, 2024
1 parent 2765f70 commit d86eeb0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .buildkite/upload-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ wheel="$new_wheel"
version=$(unzip -p "$wheel" '**/METADATA' | grep '^Version: ' | cut -d' ' -f2)
echo "Version: $version"

# If the version contains "dev", rename it to v1.0.0.dev so there's one consistent name.
if [[ $version == *dev* ]]; then
mv -- "$wheel" "${wheel/$version/1.0.0.dev}"
version="1.0.0.dev"
fi

# Upload the wheel to S3
aws s3 cp "$wheel" "s3://vllm-wheels/$BUILDKITE_COMMIT/"
aws s3 cp "$wheel" "s3://vllm-wheels/nightly/"
Expand Down

0 comments on commit d86eeb0

Please sign in to comment.