mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
simplify PATCHLEVEL assignment
This commit is contained in:
parent
52e5003866
commit
91c622ab39
2
Makefile
2
Makefile
@ -95,7 +95,7 @@ VERSIONFILE=VERSION
|
||||
VERSION:=$(shell cat $(VERSIONFILE))
|
||||
|
||||
# the number of commits since the last tag
|
||||
PATCHLEVEL:=$(shell expr `git describe --long | awk -F - '{print $$2}' `)
|
||||
PATCHLEVEL:=$(shell git describe --long | awk -F - '{print $$2}')
|
||||
# the number of commits since the last_release tag
|
||||
#PATCHLEVEL:=$(shell git rev-list last_release..HEAD | wc -l)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user