Fix PROJECT_NAME variable

PROJECT_NAME wasn't working properly, fixed.
This commit is contained in:
ducoterra
2021-11-02 15:36:18 -04:00
parent 47dea4876f
commit 524c5beccd

View File

@@ -1,6 +1,6 @@
SHELL := /bin/bash
PROJECT_NAME ?= $(shell git config --local remote.origin.url|sed -n 's#.*/\([^.]*\)\.git#\1#p')
PROJECT_NAME ?= $(shell git config --local remote.origin.url | sed -n 's\#.*/\([^.]*\)\.git\#\1\#p')
VERSION ?= $(shell cat VERSION)
IMAGE ?= $(shell cat IMAGE):$(VERSION)
IMAGE_LATEST ?= $(shell cat IMAGE):latest