Skip to content

Commit

Permalink
tmp: disavle go version check
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Oct 20, 2023
1 parent dc9d044 commit 4f562d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ endif

check_version:
ifneq ($(GO_MINOR_VERSION),20)
@echo "ERROR: Go version 1.20 is required for this version of SGE. Go 1.20 has changes that are believed to break consensus."
@echo "ERROR: Go version 1.20 is required for this version of SGE. Go 1.21 has changes that are believed to break consensus."
exit 1
endif

Expand All @@ -125,7 +125,7 @@ BUILD_TARGETS := build install

build: BUILD_ARGS=-o $(BUILDDIR)/

$(BUILD_TARGETS): check_version go.sum $(BUILDDIR)/
$(BUILD_TARGETS): go.sum $(BUILDDIR)/
GOWORK=off go $@ -mod=readonly $(BUILD_FLAGS) $(BUILD_ARGS) ./...

$(BUILDDIR)/:
Expand Down

0 comments on commit 4f562d5

Please sign in to comment.