mirror of
https://github.com/makew0rld/amfora.git
synced 2024-12-04 14:46:29 -05:00
🔨 Remove v prefix for version in Makefile
This commit is contained in:
parent
28d4108676
commit
57b9d46b7a
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ GIT_EXISTS := $(shell git status > /dev/null 2>&1 ; echo $$?)
|
|||||||
ifeq ($(GIT_EXISTS), 0)
|
ifeq ($(GIT_EXISTS), 0)
|
||||||
ifeq ($(shell git tag --points-at HEAD),)
|
ifeq ($(shell git tag --points-at HEAD),)
|
||||||
# Not currently on a tag
|
# 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
|
else
|
||||||
# On a tag
|
# On a tag
|
||||||
VERSION := $(shell git tag --points-at HEAD)
|
VERSION := $(shell git tag --points-at HEAD)
|
||||||
|
Loading…
Reference in New Issue
Block a user