Skip to content

Commit

Permalink
upload wheels to gcs
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Aug 28, 2024
1 parent b5d57d9 commit e6e1677
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/osx/build_python_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ ${VENV}/bin/delocate-wheel \
--check-archs \
${DIST_WHEELS}/google_crc32c*${PY_TAG}*.whl

export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
gcloud auth activate-service-account --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
ls ${REPO_ROOT}/wheels/
gsutil cp ${REPO_ROOT}/wheels/* gs://python_crc32c/
echo "Osx wheels uploaded successfully"

if [[ "${PUBLISH_WHEELS}" == "true" ]]; then
. /${OSX_DIR}/publish_python_wheel.sh
fi
Expand Down

0 comments on commit e6e1677

Please sign in to comment.