Skip to content

Commit

Permalink
chore: update go version check in Makefile for minimum versions (#3302)
Browse files Browse the repository at this point in the history
* Drop go version check

* Restore check, update it

---------

Co-authored-by: MSalopek <matija.salopek994@gmail.com>
  • Loading branch information
zivkovicmilos and MSalopek committed Sep 2, 2024
1 parent 1e50285 commit 355dc9c
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 @@ -99,8 +99,8 @@ include contrib/devtools/Makefile
###############################################################################

check_version:
ifneq ($(GO_SYSTEM_VERSION), $(REQUIRE_GO_VERSION))
@echo "ERROR: Go version 1.22 is required for $(VERSION) of Gaia."
ifneq ($(shell [ "$(GO_SYSTEM_VERSION)" \< "$(REQUIRE_GO_VERSION)" ] && echo true),)
@echo "ERROR: Minimum Go version $(REQUIRE_GO_VERSION) is required for $(VERSION) of Gaia."
exit 1
endif

Expand Down

0 comments on commit 355dc9c

Please sign in to comment.