This commit is contained in:
Abubakar Abid 2022-06-13 13:51:32 -07:00 committed by GitHub
parent 5069a8814f
commit 4048ac11b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -1 +1 @@
3.0.13b105
3.0.16

View File

@ -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/*