Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

doc: update makefile set env

LinkinStar1ca4349c8e1d
diff --git a/Makefile b/Makefile
index 7d3027f3..ee5099e2 100644
--- a/Makefile
+++ b/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