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 version

LinkinStar51dc24e2266f
diff --git a/Dockerfile b/Dockerfile
index 2cbe7a6d..c1bd53ba 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,7 +26,7 @@ COPY . ${BUILD_DIR}
WORKDIR ${BUILD_DIR}
COPY --from=node-builder /tmp/build ${BUILD_DIR}/ui/build
RUN apk --no-cache add build-base git \
- && make clean test build \
+ && make clean build \
&& cp answer /usr/bin/answer
RUN mkdir -p /data/uploads && chmod 777 /data/uploads \
diff --git a/Makefile b/Makefile
index 1ecff1c9..fcbdf2ba 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
.PHONY: build clean ui
-VERSION=0.3.0
+VERSION=0.4.0
BIN=answer
DIR_SRC=./cmd/answer
DOCKER_CMD=docker
@@ -30,7 +30,6 @@ test:
# clean all build result
clean:
-
@$(GO) clean ./...
@rm -f $(BIN)