mirror of https://gitee.com/answerdev/answer.git
doc: update makefile set env
This commit is contained in:
parent
9cc4e01acc
commit
1ca4349c8e
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