File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
- .PHONY : all compile_frontend bundle_pypi upload_pypi increment_version release
1
+ .PHONY : all compile_frontend bundle_pypi upload_pypi increment_version release check_env_var
2
2
3
3
# Extract version from setup.py file
4
4
VERSION := $(shell grep -oP "(?<=version=') [^']*" setup.py)
5
5
6
- all : build upload_pypi
6
+ all : check_env_var build upload_pypi
7
7
8
- build : compile_frontend bundle_pypi
8
+ build : check_env_var compile_frontend bundle_pypi
9
9
10
10
setenv :
11
11
export VITE_APP_VERSION =${VERSION}
@@ -36,3 +36,10 @@ bundle_pypi:
36
36
37
37
upload_pypi :
38
38
twine upload dist/*
39
+
40
+ check_env_var :
41
+ ifeq ($(VITE_WEB_ADDRESS ) ,)
42
+ @echo "VITE_WEB_ADDRESS not set, proceeding..."
43
+ else
44
+ $(error "VITE_WEB_ADDRESS is set, aborting...")
45
+ endif
Original file line number Diff line number Diff line change 7
7
8
8
setup (
9
9
name = 'gpt_code_ui' ,
10
- version = '0.42.27 ' ,
10
+ version = '0.42.28 ' ,
11
11
description = "An Open Source version of ChatGPT Code Interpreter" ,
12
12
long_description = long_description ,
13
13
long_description_content_type = 'text/markdown' , # This field specifies the format of the `long_description`.
You can’t perform that action at this time.
0 commit comments