1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-15 19:15:24 +00:00

🔨 Remove v prefix for version in Makefile

This commit is contained in:
makeworld 2020-09-06 14:00:23 -04:00
parent 28d4108676
commit 57b9d46b7a

View File

@ -3,7 +3,7 @@ GIT_EXISTS := $(shell git status > /dev/null 2>&1 ; echo $$?)
ifeq ($(GIT_EXISTS), 0)
ifeq ($(shell git tag --points-at HEAD),)
# Not currently on a tag
VERSION := $(shell git describe --tags | sed 's/-.*/-next/') # v1.2.3-next
VERSION := $(shell git describe --tags | sed 's/^v//; s/-.*/-next/') # 1.2.3-next
else
# On a tag
VERSION := $(shell git tag --points-at HEAD)