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