mirror of
https://github.com/ndeadly/MissionControl
synced 2024-11-22 04:13:07 +00:00
Replace invalid path characters from git branch name with underscores
This commit is contained in:
parent
fcc1bb3a05
commit
737f0edb79
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
|||
PROJECT_NAME := MissionControl
|
||||
MC_MITM_TID := 010000000000bd00
|
||||
|
||||
GIT_BRANCH := $(shell git symbolic-ref --short HEAD)
|
||||
GIT_BRANCH := $(shell git symbolic-ref --short HEAD | sed s/[^a-zA-Z0-9_-]/_/g)
|
||||
GIT_HASH := $(shell git rev-parse --short HEAD)
|
||||
GIT_TAG := $(shell git describe --tags `git rev-list --tags --max-count=1`)
|
||||
BUILD_VERSION := $(GIT_TAG:v%=%)-$(GIT_BRANCH)-$(GIT_HASH)
|
||||
|
|
Loading…
Reference in a new issue