From 677fbae2f120d2a0a9797ba308820a597c79c3d1 Mon Sep 17 00:00:00 2001 From: Abubakar Abid Date: Mon, 21 Feb 2022 18:30:26 -0500 Subject: [PATCH] 2.8.2 --- gradio.egg-info/PKG-INFO | 2 +- gradio/version.txt | 2 +- scripts/upload_to_pypi.sh | 6 +++--- setup.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gradio.egg-info/PKG-INFO b/gradio.egg-info/PKG-INFO index 59e6470d0f..2f235a6e5e 100644 --- a/gradio.egg-info/PKG-INFO +++ b/gradio.egg-info/PKG-INFO @@ -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 diff --git a/gradio/version.txt b/gradio/version.txt index 6533b66871..cae9add96b 100644 --- a/gradio/version.txt +++ b/gradio/version.txt @@ -1 +1 @@ -2.8.0 \ No newline at end of file +2.8.2 \ No newline at end of file diff --git a/scripts/upload_to_pypi.sh b/scripts/upload_to_pypi.sh index a74ec26621..ebfeefd3ef 100755 --- a/scripts/upload_to_pypi.sh +++ b/scripts/upload_to_pypi.sh @@ -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/* diff --git a/setup.py b/setup.py index b42247f184..d60f1bc5b6 100644 --- a/setup.py +++ b/setup.py @@ -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",