Merge pull request #698 from gradio-app/release-2.8.2

2.8.2
This commit is contained in:
Abubakar Abid 2022-02-21 18:48:03 -05:00 committed by GitHub
commit 2c7860d2c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: gradio
Version: 2.8.0
Version: 2.8.2
Summary: Python library for easily interacting with trained machine learning models
Home-page: https://github.com/gradio-app/gradio-UI
Author: Abubakar Abid, Ali Abid, Ali Abdalla, Dawood Khan, Ahsen Khaliq

View File

@ -1 +1 @@
2.8.0
2.8.2

View File

@ -6,10 +6,10 @@ else
echo "Uploading to pypi"
set -e
git pull origin master
old_version=$(ggrep -Po "(?<=version=\")[^\"]+(?=\")" setup.py)
old_version=$(grep -Po "(?<=version=\")[^\"]+(?=\")" setup.py)
echo "Current version is $old_version. New version?"
read new_version
gsed -i "s/version=\"$old_version\"/version=\"$new_version\"/g" setup.py
sed -i "s/version=\"$old_version\"/version=\"$new_version\"/g" setup.py
read -p "frontend updates? " -r
if [[ $REPLY =~ ^[Yy]$ ]]
then
@ -17,7 +17,7 @@ else
cd ui
npm run build
cd ..
aws s3 cp gradio/templates/frontend s3://gradio/$new_version/ --recursive
aws s3 cp gradio/templates/frontend s3://gradio/$new_version/ --recursive # requires aws cli (contact maintainers for credentials)
fi
rm -r dist/*
rm -r build/*

View File

@ -5,7 +5,7 @@ except ImportError:
setup(
name="gradio",
version="2.8.0",
version="2.8.2",
include_package_data=True,
description="Python library for easily interacting with trained machine learning models",
author="Abubakar Abid, Ali Abid, Ali Abdalla, Dawood Khan, Ahsen Khaliq",