From 64a196fb662563fcda20ea1673e533bf48283120 Mon Sep 17 00:00:00 2001 From: Ben Sherriff Date: Sat, 12 Apr 2025 09:10:29 -0400 Subject: [PATCH] Fixed Makefile issues present on ubuntu --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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