diff --git a/.buildkite/pipelines/main/upload_s3/musl.yml b/.buildkite/pipelines/main/upload_s3/musl.yml index 354a88ab674ed..66a2b699e5124 100644 --- a/.buildkite/pipelines/main/upload_s3/musl.yml +++ b/.buildkite/pipelines/main/upload_s3/musl.yml @@ -13,15 +13,7 @@ steps: echo "--- Print the full and short commit hashes" SHORT_COMMIT_LENGTH=10 SHORT_COMMIT=`echo $${BUILDKITE_COMMIT:?} | cut -c1-$${SHORT_COMMIT_LENGTH:?}` - JULIA_DIR="julia-$${SHORT_COMMIT:?}" - JULIA_BINARY="$${JULIA_DIR:?}/bin/julia" - ARTIFACT_FILE_EXTENSION="tar.gz" - ARTIFACT_FILENAME="julia-$${SHORT_COMMIT:?}-${PLATFORM?}${ARCH?}.$${ARTIFACT_FILE_EXTENSION:?}" - echo "The full commit is: $${BUILDKITE_COMMIT:?}" - echo "The short commit is: $${SHORT_COMMIT:?}" - echo "The artifact filename will be: $${ARTIFACT_FILENAME:?}" - echo "The Julia directory name will be: $${JULIA_DIR:?}" - echo "The Julia binary will be: $${JULIA_BINARY:?}" + ARTIFACT_FILENAME="julia-$${SHORT_COMMIT:?}-musl64.tar.gz" echo "--- Download build artifacts" rm -rf $${ARTIFACT_FILENAME:?} @@ -30,9 +22,9 @@ steps: echo "--- Upload build artifacts to S3" # Upload to the following URL: # https://julialangnightlies-s3.julialang.org/bin/linux/x64/julia-latest-musl64.tar.gz + export NEW_ARTIFACT_FILENAME="julia-latest-musl64.tar.gz" export BUILDKITE_ARTIFACT_UPLOAD_DESTINATION="s3://julialangnightlies-s3/bin/linux/x64" export BUILDKITE_S3_DEFAULT_REGION="us-east-1" - export NEW_ARTIFACT_FILENAME="julia-latest-musl64.tar.gz" if [[ "$${ARTIFACT_FILENAME:?}" != "$${NEW_ARTIFACT_FILENAME:?}" ]]; then mv $${ARTIFACT_FILENAME:?} $${NEW_ARTIFACT_FILENAME:?} fi