From 920645f90e98766b12ff404a04121cd039481963 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Sat, 18 Dec 2021 13:14:14 +0530 Subject: [PATCH] Fix typo in Makefile. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5030396..334c047 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Try to get the commit hash from 1) git 2) the VERSION file 3) fallback. LAST_COMMIT := $(or $(shell git rev-parse --short HEAD 2> /dev/null),$(shell head -n 1 VERSION | grep -oP -m 1 "^[a-z0-9]+$$"),"UNKNOWN") -# Try to get the semver from 1) git 2) the VERSION file 3) fallbakc. +# Try to get the semver from 1) git 2) the VERSION file 3) fallback. VERSION := $(or $(shell git describe --tags --abbrev=0 2> /dev/null),$(shell grep -oP "tag: \K(.*)(?=,)" VERSION),"v0.0.0") BUILDSTR := ${VERSION} (\#${LAST_COMMIT} $(shell date -u +"%Y-%m-%dT%H:%M:%S%z"))