We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaf87ac commit 8ba36bdCopy full SHA for 8ba36bd
Makefile
@@ -14,7 +14,7 @@ RM := rm -rf
14
CC ?= gcc
15
CFLAGS ?= -g -O0
16
CFLAGS += -Wall -Wextra -std=c99 -pedantic
17
-GIT_VERSION := $(shell git describe --abbrev=8 --dirty --always --tags)
+GIT_VERSION := $(shell git describe --match "v[0-9]*" --abbrev=8 --dirty --always --tags | cut -c2-)
18
ifeq ($(GIT_VERSION),)
19
GIT_VERSION := $(shell cat VERSION)
20
endif
0 commit comments