Sanitize remote URL
This commit is contained in:
parent
0e2e9169f1
commit
9fddea4ad1
2
Makefile
2
Makefile
|
@ -14,7 +14,7 @@ SOURCES = main.c system.c usbd_conf.c usbd_cdc_if.c usb_device.c usbd_desc.c int
|
|||
|
||||
# Get git version and dirty flag
|
||||
GIT_VERSION := $(shell git describe --abbrev=7 --dirty --always --tags)
|
||||
GIT_REMOTE := $(shell git config --get remote.origin.url)
|
||||
GIT_REMOTE := $(shell git config --get remote.origin.url | sed 's/^.*github/github/')
|
||||
|
||||
# TARGET: name of the user application
|
||||
TARGET = canable-$(GIT_VERSION)
|
||||
|
|
Loading…
Reference in New Issue