Fix PROJECT_NAME variable

PROJECT_NAME variable wasn't working. Fixed.
This commit is contained in:
ducoterra
2021-11-02 15:04:55 -04:00
parent d580f3407c
commit fe8db45abd

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