From 9fddea4ad12b05acc519d90c3771ba5c54a81ea2 Mon Sep 17 00:00:00 2001 From: Ethan Zonca Date: Thu, 29 Jun 2023 21:33:17 -0400 Subject: [PATCH] Sanitize remote URL --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 44b6dcb..9ae60b3 100644 --- a/Makefile +++ b/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)