Skip to content

Commit

Permalink
Fix upload pypi and github release
Browse files Browse the repository at this point in the history
  • Loading branch information
auxten committed Oct 17, 2024
1 parent 400d830 commit 9695d2a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions chdb/build_mac_arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,17 @@ gh release upload v${CHDB_VERSION} macos-arm64-libchdb.tar.gz --clobber


cd ${PROJ_DIR}
# Set environment variables for PyPI upload
export TWINE_USERNAME=__token__
export TWINE_PASSWORD=$(cat ~/.config/pypi.token)

make pub

# Upload wheel files to GitHub release
echo "Uploading wheel files to GitHub release..."
for wheel in dist/*.whl; do
if [ -f "$wheel" ]; then
gh release upload v${CHDB_VERSION} "$wheel" --clobber
echo "Uploaded $wheel"
fi
done

0 comments on commit 9695d2a

Please sign in to comment.