bash script (#5595)

This commit is contained in:
Abubakar Abid 2023-09-18 21:06:09 -07:00 committed by GitHub
parent 51a0a2e557
commit ab2f9e0764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ cd "$(dirname ${0})"
# You should update the version in package.json before running this script
FILE="gradio/package.json"
new_version=$(python -c "import json; f = open('$FILE', 'r'); data = json.load(f); print(data['version']); f.close();")
GRADIO_VERSION = $new_version
GRADIO_VERSION=$new_version
rm -rf gradio/templates/frontend
rm -rf gradio/templates/cdn