We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e478bd5 commit ca8b887Copy full SHA for ca8b887
backend/Makefile
@@ -17,8 +17,8 @@
17
# https://stackoverflow.com/questions/920413/make-error-missing-separator
18
# https://tutorialedge.net/golang/makefiles-for-go-developers/
19
20
-SHA := $(shell if [ -d .git ]; then git show -s --format=%h; else echo "default_SHA"; fi)
21
-TAG := $(shell if [ -d .git ]; then git tag --points-at HEAD; else echo "default_TAG"; fi)
+SHA ?= $(shell if [ -d .git ]; then git show -s --format=%h; else echo "unknown_sha"; fi)
+TAG ?= $(shell if [ -d .git ]; then git tag --points-at HEAD; else echo "local_build"; fi)
22
IMAGE_REPO ?= "apache"
23
VERSION = $(TAG)@$(SHA)
24
PYTHON_DIR ?= "./python"
0 commit comments