mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-17 11:29:58 +08:00
6th try (#1557)
This commit is contained in:
parent
5069a8814f
commit
4048ac11b7
@ -1 +1 @@
|
||||
3.0.13b105
|
||||
3.0.16
|
||||
|
@ -3,8 +3,6 @@ if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
|
||||
echo "Please run the script from repo directory"
|
||||
exit -1
|
||||
else
|
||||
set -e
|
||||
aws configure list
|
||||
old_version=$(grep -Po "(?<=version=\")[^\"]+(?=\")" setup.py)
|
||||
read -r new_version < gradio/version.txt
|
||||
sed -i "s/version=\"$old_version\"/version=\"$new_version\"/g" setup.py
|
||||
@ -16,9 +14,7 @@ else
|
||||
pnpm build
|
||||
GRADIO_VERSION=$new_version pnpm build:cdn
|
||||
cd ..
|
||||
echo "Before AWS"
|
||||
aws s3 cp gradio/templates/cdn s3://gradio/$new_version/ --recursive
|
||||
echo "After AWS"
|
||||
cp gradio/templates/cdn/index.html gradio/templates/frontend/share.html
|
||||
|
||||
rm -r dist/*
|
||||
|
Loading…
Reference in New Issue
Block a user