Skip to content

Commit 47245d1

Browse files
committed
ci: fix errors in upload-wheels.sh
Signed-off-by: Shengqi Chen <[email protected]>
1 parent aaa37d2 commit 47245d1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.buildkite/scripts/upload-wheels.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ echo "Pure version (without variant): $pure_version"
4242
aws s3 cp "$wheel" "s3://$BUCKET/$BUILDKITE_COMMIT/"
4343

4444
# list all wheels in the commit directory
45+
echo "Existing wheels on S3:"
46+
aws s3 ls "s3://$BUCKET/$BUILDKITE_COMMIT/"
4547
obj_json="$(mktemp).json"
4648
aws s3api list-objects-v2 --bucket "$BUCKET" --prefix "$BUILDKITE_COMMIT/" --delimiter / --output json > "$obj_json"
47-
4849
mkdir -p "$INDICES_OUTPUT_DIR"
4950

5051
# call script to generate indicies for all existing wheels
@@ -56,7 +57,7 @@ if [[ ! -z "$DEFAULT_VARIANT_ALIAS" ]]; then
5657
else
5758
alias_arg=""
5859
fi
59-
python3 ./buildkite/scripts/generate-nightly-index.py --version "$BUILDKITE_COMMIT" --current-objects "$obj_json" --output-dir "$INDICES_OUTPUT_DIR" "$alias_arg"
60+
python3 .buildkite/scripts/generate-nightly-index.py --version "$BUILDKITE_COMMIT" --current-objects "$obj_json" --output-dir "$INDICES_OUTPUT_DIR" "$alias_arg"
6061

6162
# copy indices to /<commit>/ unconditionally
6263
aws s3 cp --recursive "$INDICES_OUTPUT_DIR/" "s3://$BUCKET/$BUILDKITE_COMMIT/"

0 commit comments

Comments
 (0)