Skip to content

Commit

Permalink
fix: fatal error reported when run make build in release src (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
gxthrj committed May 25, 2021
1 parent 1dd5087 commit a16e980
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Expand Up @@ -21,8 +21,11 @@ RELEASE_SRC = apache-apisix-ingress-controller-${VERSION}-src
LOCAL_REGISTRY="localhost:5000"
IMAGE_TAG ?= dev

GITSHA ?= "no-git-module"
ifneq ("$(wildcard .git)", "")
GITSHA = $(shell git rev-parse --short=7 HEAD)
endif
GINKGO ?= $(shell which ginkgo)
GITSHA ?= $(shell git rev-parse --short=7 HEAD)
OSNAME ?= $(shell uname -s | tr A-Z a-z)
OSARCH ?= $(shell uname -m | tr A-Z a-z)
PWD ?= $(shell pwd)
Expand Down

0 comments on commit a16e980

Please sign in to comment.