Merge branch 'feat/makefile' into 'main'

feat: makefile add replace env version

See merge request opensource/answer!78
This commit is contained in:
linkinstar 2022-10-19 03:34:53 +00:00
commit b158383c99
1 changed files with 1 additions and 1 deletions

View File

@ -32,6 +32,6 @@ install-ui-packages:
ui:
@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