Sanitize remote URL

This commit is contained in:
Ethan Zonca 2023-06-29 21:33:17 -04:00
parent 0e2e9169f1
commit 9fddea4ad1
1 changed files with 1 additions and 1 deletions

View File

@ -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)