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.

feat: makefile add replace env version

LinkinStar7c5d136d9538
diff --git a/Makefile b/Makefile
index 8592b00e..a78fcdfb 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 && pnpm install && pnpm build && cd -
+ @cd ui && sed -i "s/REACT_APP_VERSION=.*/REACT_APP_VERSION=$(VERSION)/g" .env
all: clean build