Fixing pypi release deployment script (#2786)

* loud

* memory

* force delete

* version
This commit is contained in:
Abubakar Abid 2022-12-09 22:05:15 -08:00 committed by GitHub
parent c70f8fedd4
commit a580a93510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -17,6 +17,9 @@ on:
paths:
- 'gradio/version.txt'
env:
NODE_OPTIONS: "--max-old-space-size=4096"
jobs:
deploy:
if: github.event.pull_request.merged == true || github.event.action == ''

View File

@ -1 +1 @@
3.12.0
3.12.0b6

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
cd "$(dirname ${0})/.."
source scripts/helpers.sh
@ -20,6 +21,6 @@ cd ..
aws s3 cp gradio/templates/cdn "s3://gradio/${new_version}/" --recursive
cp gradio/templates/cdn/index.html gradio/templates/frontend/share.html
rm -r dist/*
rm -r build/*
rm -rf dist/*
rm -rf build/*
python3 -m build