mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-25 12:10:31 +08:00
Fixing pypi release deployment script (#2786)
* loud * memory * force delete * version
This commit is contained in:
parent
c70f8fedd4
commit
a580a93510
3
.github/workflows/deploy-pypi.yml
vendored
3
.github/workflows/deploy-pypi.yml
vendored
@ -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 == ''
|
||||
|
@ -1 +1 @@
|
||||
3.12.0
|
||||
3.12.0b6
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user