Skip to content

Commit 9115298

Browse files
zijun726911Zijun Wang
andauthored
Fix Makefile git tag command (#488)
* Fix Makefile * Fix Makefile git tag --------- Co-authored-by: Zijun Wang <[email protected]>
1 parent 8900658 commit 9115298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export AWS_ACCOUNT_ID ?= $(shell aws sts get-caller-identity --query Account --o
55
export REGION ?= $(shell aws configure get region)
66
# Image URL to use all building/pushing image targets
77
IMG ?= controller:latest
8-
VERSION ?= $(shell git tag --sort=committerdate | tail -1)
8+
VERSION ?= $(shell git tag --sort=v:refname | tail -1)
99
ECRIMAGES ?=public.ecr.aws/m7r9p7b3/aws-gateway-controller:${VERSION}
1010

1111
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.

0 commit comments

Comments
 (0)