make: remove git id from revision

This commit is contained in:
King Kévin 2022-06-24 17:56:35 +02:00
parent ddfbc49814
commit bc8a9bfc1d
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ VERSION := $(shell cat version)
# current date for stamping output
DATE = $(shell date +%Y-%m-%d)
# revision based on number of changes on schematic or board layout and current git commit
REVISION := $(shell git log --pretty=oneline "${NAME}.kicad_sch" "${NAME}.kicad_pcb" | wc -l) $(shell git rev-parse --short HEAD)
REVISION := $(shell git log --pretty=oneline "${NAME}.kicad_sch" "${NAME}.kicad_pcb" | wc -l)
# generate file with version information
VERSIONED_EXT = kicad_sch kicad_pcb kicad_pro json