Explorar o código

makefile: remove 'v' prefix from version strings

Fabian Peter Hammerle %!s(int64=3) %!d(string=hai) anos
pai
achega
3eae728447
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -1,7 +1,7 @@
 # sync with https://github.com/fphammerle/docker-onion-service/blob/master/Makefile
 
 IMAGE_NAME := docker.io/fphammerle/home-assistant
-PROJECT_VERSION := $(shell git describe --match=v* --abbrev=0 --dirty)
+PROJECT_VERSION = $(shell git describe --match=v* --abbrev=0 --dirty | sed -e 's/^v//')
 HOMEASSISTANT_VERSION := $(shell grep -Po 'HOME_ASSISTANT_VERSION=\K.+' Dockerfile)
 ARCH = $(shell arch)
 # architecture[arm_variant]