Browse Source

makefile: fix detection of project version for v1.*

Fabian Peter Hammerle 2 years ago
parent
commit
02d7d0dd96
1 changed files with 1 additions and 1 deletions
  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]