mirror of https://gitee.com/answerdev/answer.git
Merge branch 'feat/makefile' into 'main'
doc: update makefile set env See merge request opensource/answer!81
This commit is contained in:
commit
0d9a031ce3
2
Makefile
2
Makefile
|
@ -32,6 +32,6 @@ install-ui-packages:
|
|||
|
||||
ui:
|
||||
@npm config set registry https://repo.huaweicloud.com/repository/npm/
|
||||
@cd ui && sed -i "s/REACT_APP_VERSION=.*/REACT_APP_VERSION=$(VERSION)/g" .env && pnpm install && pnpm build && cd -
|
||||
@cd ui && echo "REACT_APP_VERSION=$(VERSION)" >> .env && pnpm install && pnpm build && cd -
|
||||
|
||||
all: clean build
|
||||
|
|
Loading…
Reference in New Issue