Skip to content

Commit

Permalink
update Makefile (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 authored Dec 5, 2023
1 parent e7c5be9 commit a0406fc
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 @@ -7,7 +7,7 @@ COMMIT := $(shell git log -1 --format='%H')

# don't override user values
ifeq (,$(VERSION))
VERSION := $(shell git describe --exact-match 2>/dev/null)
VERSION := $(shell git describe --tags --exact-match 2>/dev/null)
# if VERSION is empty, then populate it with branch's name and raw commit hash
ifeq (,$(VERSION))
VERSION := $(BRANCH)-$(COMMIT)
Expand All @@ -22,7 +22,7 @@ DOCKER := $(shell which docker)
BUILDDIR ?= $(CURDIR)/build

GO_SYSTEM_VERSION = $(shell go version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1-2)
REQUIRE_GO_VERSION = 1.20
REQUIRE_GO_VERSION = 1.21

export GO111MODULE = on

Expand Down

0 comments on commit a0406fc

Please sign in to comment.