e30e75b5d4
Code Quality / Oxlint + Oxfmt (push) Waiting to run
Code Quality / Template Sync (push) Waiting to run
Code Quality / Build Changed Packages (push) Waiting to run
Code Quality / Test Changed Packages (push) Waiting to run
Deploy Expo Example / Deploy Production (push) Waiting to run
Deploy Ink Example / Deploy Production (push) Waiting to run
Python Tests / pytest (assistant-stream, 3.10) (push) Waiting to run
Python Tests / pytest (assistant-stream, 3.12) (push) Waiting to run
Python Tests / pytest (assistant-ui-sync-server-api, 3.10) (push) Waiting to run
Python Tests / pytest (assistant-ui-sync-server-api, 3.12) (push) Waiting to run
Deploy Shadcn Registry / Deploy Production (push) Waiting to run
Template Metrics / LOC + Bundle Size (push) Waiting to run
Changesets / Create Version PR (push) Has been cancelled
24 lines
546 B
Bash
Executable File
24 lines
546 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
echo "🚀 Deploying assistant-ui-sync-server-api to PyPI"
|
|
|
|
# Clean previous builds
|
|
echo "🧹 Cleaning previous builds..."
|
|
rm -rf dist/ build/ *.egg-info src/*.egg-info
|
|
|
|
# Build the package
|
|
echo "📦 Building package..."
|
|
python -m pip install --upgrade build twine
|
|
python -m build
|
|
|
|
# Check the package
|
|
echo "🔍 Checking package..."
|
|
twine check dist/*
|
|
|
|
# Upload to PyPI
|
|
echo "📤 Uploading to PyPI..."
|
|
echo "Note: You'll need to authenticate with your PyPI credentials"
|
|
twine upload dist/*
|
|
|
|
echo "✅ Deployment complete!" |