mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-06 03:57:48 +01:00
fuse integration: require go 1.21+ in check-go, not 1.20+
This commit is contained in:
1 parent
c2b62184d9
commit
9fe3790cb6
1 file changed
+1
-2
@@ -67,8 +67,7 @@ check-fuse:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
check-go:
|
check-go:
|
||||||
@go version | grep -q "go1\.[2-9][0-9]" || \
|
@go version | grep -Eq "go(1\.(2[1-9]|[3-9][0-9]+)|[2-9]\.)" || \
|
||||||
go version | grep -q "go1\.2[1-9]" || \
|
|
||||||
(echo "$(RED)❌ Go $(GO_VERSION)+ required. Current: $$(go version)$(RESET)" && exit 1)
|
(echo "$(RED)❌ Go $(GO_VERSION)+ required. Current: $$(go version)$(RESET)" && exit 1)
|
||||||
@echo "$(GREEN)[OK] Go version check passed$(RESET)"
|
@echo "$(GREEN)[OK] Go version check passed$(RESET)"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user