Comment out twine upload; dry-run to verify wheel list first
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
c5f1dc4f44
commit
f825e007f5
1 file changed
+13
-19
@@ -14,25 +14,16 @@ if [[ -z "$RELEASE_VERSION" ]]; then
|
|||||||
fi
|
fi
|
||||||
echo "Release version: $RELEASE_VERSION"
|
echo "Release version: $RELEASE_VERSION"
|
||||||
|
|
||||||
if [[ -z "$PYPI_TOKEN" ]]; then
|
# if [[ -z "$PYPI_TOKEN" ]]; then
|
||||||
echo "[FATAL] PYPI_TOKEN is not set."
|
# echo "[FATAL] PYPI_TOKEN is not set."
|
||||||
exit 1
|
# exit 1
|
||||||
else
|
# else
|
||||||
export TWINE_USERNAME="__token__"
|
# export TWINE_USERNAME="__token__"
|
||||||
export TWINE_PASSWORD="$PYPI_TOKEN"
|
# export TWINE_PASSWORD="$PYPI_TOKEN"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
if ! command -v uv &> /dev/null; then
|
|
||||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
uv venv --python 3.12 /tmp/vllm-omni-release-env
|
|
||||||
source /tmp/vllm-omni-release-env/bin/activate
|
|
||||||
uv pip install twine
|
|
||||||
|
|
||||||
DIST_DIR=/tmp/vllm-omni-release-dist
|
DIST_DIR=/tmp/vllm-omni-release-dist
|
||||||
mkdir -p "$DIST_DIR"
|
mkdir -p "$DIST_DIR"
|
||||||
|
|
||||||
@@ -47,6 +38,9 @@ if [[ -z "$PYPI_WHEEL_FILES" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python3 -m twine check $PYPI_WHEEL_FILES
|
echo "Wheels that would be uploaded to PyPI:"
|
||||||
python3 -m twine upload --non-interactive --verbose $PYPI_WHEEL_FILES
|
echo "$PYPI_WHEEL_FILES"
|
||||||
echo "Wheels uploaded to PyPI"
|
|
||||||
|
# python3 -m twine check $PYPI_WHEEL_FILES
|
||||||
|
# python3 -m twine upload --non-interactive --verbose $PYPI_WHEEL_FILES
|
||||||
|
# echo "Wheels uploaded to PyPI"
|
||||||
Reference in new issue
Block a user