Explorar o código

makefile: fix detection of project version for v1.*

Fabian Peter Hammerle %!s(int64=4) %!d(string=hai) anos
pai
achega
02d7d0dd96
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/ipfs
-PROJECT_VERSION = $(shell git describe --match=0.* --abbrev=0 --dirty | sed -e 's/^v//')
+PROJECT_VERSION = $(shell git describe --match=1.* --abbrev=0 --dirty | sed -e 's/^v//')
 IPFS_VERSION = $(shell grep -Po 'IPFS_VERSION=\K.+' Dockerfile)
 ARCH = $(shell arch)
 # architecture[arm_variant]