Skip to content
Snippets Groups Projects
Unverified Commit 289e635e authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #10281 from smlng/pr/riotversion

build: remove hostname from RIOT_VERSION string
parents fc139f30 7d1bf261
No related branches found
No related tags found
No related merge requests found
...@@ -319,7 +319,7 @@ include $(RIOTMAKE)/cflags.inc.mk ...@@ -319,7 +319,7 @@ include $(RIOTMAKE)/cflags.inc.mk
# make the RIOT version available to the program # make the RIOT version available to the program
ifeq ($(origin RIOT_VERSION), undefined) ifeq ($(origin RIOT_VERSION), undefined)
GIT_STRING := $(shell git --git-dir="$(RIOTBASE)/.git" describe --always --abbrev=4 --dirty=-`hostname` 2> /dev/null) GIT_STRING := $(shell git --git-dir="$(RIOTBASE)/.git" describe --always --abbrev=4 2> /dev/null)
ifneq (,$(GIT_STRING)) ifneq (,$(GIT_STRING))
GIT_BRANCH := $(shell git --git-dir="$(RIOTBASE)/.git" rev-parse --abbrev-ref HEAD) GIT_BRANCH := $(shell git --git-dir="$(RIOTBASE)/.git" rev-parse --abbrev-ref HEAD)
ifeq ($(strip $(GIT_BRANCH)),master) ifeq ($(strip $(GIT_BRANCH)),master)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment