mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
Fix release (#16278)
### What problem does this PR solve? Fix release ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
2
build.sh
2
build.sh
@@ -267,7 +267,7 @@ build_go() {
|
|||||||
go build -o "$INGESTOR_BINARY" cmd/ingestor.go
|
go build -o "$INGESTOR_BINARY" cmd/ingestor.go
|
||||||
GOPROXY=${GOPROXY:-https://goproxy.cn,https://proxy.golang.org,direct} CGO_ENABLED=1 \
|
GOPROXY=${GOPROXY:-https://goproxy.cn,https://proxy.golang.org,direct} CGO_ENABLED=1 \
|
||||||
CGO_CFLAGS="$CGO_CFLAGS" CGO_LDFLAGS="$CGO_LDFLAGS" \
|
CGO_CFLAGS="$CGO_CFLAGS" CGO_LDFLAGS="$CGO_LDFLAGS" \
|
||||||
go build -o "$RAGFLOW_CLI_BINARY" cmd/ragflow_cli.go
|
go build -o "$RAGFLOW_CLI_BINARY" cmd/ragflow-cli.go
|
||||||
|
|
||||||
if [ ! -f "$RAGFLOW_SERVER_BINARY" ]; then
|
if [ ! -f "$RAGFLOW_SERVER_BINARY" ]; then
|
||||||
echo -e "${RED}Error: Failed to build RAGFlow server binary${NC}"
|
echo -e "${RED}Error: Failed to build RAGFlow server binary${NC}"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ This is the Go implementation of the RAGFlow command-line interface, compatible
|
|||||||
### Build and run
|
### Build and run
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go build -o ragflow-cli ./cmd/ragflow_cli.go
|
go build -o ragflow-cli ./cmd/ragflow-cli.go
|
||||||
./ragflow-cli
|
./ragflow-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user