diff --git a/Makefile b/Makefile index e81552c..c16c6b0 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,6 @@ #!make SHELL := /bin/bash -export API_VERSION = $(shell awk -F ' = ' '$$1 ~ /package.version/ { gsub(/[\"]/, "", $$2); printf("%s",$$2) }' api/Cargo.toml) -export UI_VERSION := $(shell awk -F'"' '/"version"/ { print $$4 }' ui/package.json) - include .env -include .env.local export @@ -105,7 +102,7 @@ build: ## Build a specific docker image (`make build f=httpd`) --load \ --build-arg BUILD_DATE=$$(date -u +'%Y-%m-%dT%H:%M:%SZ') \ --build-arg BUILD_VERSION=${version} \ - --build-arg VCS_REF=$$(git rev-parse head) \ + --build-arg VCS_REF=$$(git rev-parse HEAD) \ ${folder} docker-build: build