diff --git a/Makefile b/Makefile index bc53931a..5e44ff25 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ release: compile_frontend: cd frontend && \ npm install && \ - npm run build && \ + VITE_APP_VERSION=$$(grep -e "^\s*version='[^']*'" ../setup.py | cut -d "'" -f 2) npm run build && \ find ../gpt_code_ui/webapp/static -mindepth 1 ! -name '.gitignore' -delete && \ rsync -av dist/ ../gpt_code_ui/webapp/static diff --git a/setup.py b/setup.py index a6367402..d47f0e87 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name='gpt_code_ui', - version='0.42.36', + version='0.42.37', description="An Open Source version of ChatGPT Code Interpreter", long_description=long_description, long_description_content_type='text/markdown', # This field specifies the format of the `long_description`.