Skip to content

Commit

Permalink
remove slashes from GITBRANCH to prevent error with subdirectories be…
Browse files Browse the repository at this point in the history
…ing created
  • Loading branch information
geezer09 committed Nov 11, 2024
1 parent e561a4e commit bde09fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ MAVEN_VERSION:=$(VNUM)-SNAPSHOT

JARNAME:=vassal-app-$(MAVEN_VERSION)

GITBRANCH:=$(shell git rev-parse --abbrev-ref HEAD)
#Slashes are substituted so as not to create subdirectories
GITBRANCH := $(subst /,_,$(shell git rev-parse --abbrev-ref HEAD))
GITCOMMIT:=$(shell git rev-parse --short HEAD)

ifeq ($(shell git describe --tags), $(MAVEN_VERSION))
Expand Down

0 comments on commit bde09fa

Please sign in to comment.