Merge pull request #1228 from tlaurion/heads_git_version_fixated_to_abbrev7

fixate HEADS_GIT_VERSION to use a commit id of 7 characters
This commit is contained in:
tlaurion 2022-10-20 14:17:35 -04:00 committed by GitHub
commit 0389eca95a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ GIT_STATUS := $(shell \
else \
echo dirty ; \
fi)
HEADS_GIT_VERSION := $(shell git describe --tags --dirty)
HEADS_GIT_VERSION := $(shell git describe --abbrev=7 --tags --dirty)
CB_OUTPUT_BASENAME := heads-$(BOARD)-$(HEADS_GIT_VERSION)
CB_OUTPUT_FILE := $(CB_OUTPUT_BASENAME).rom