We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f87182 commit cf32652Copy full SHA for cf32652
hail/Makefile
@@ -19,6 +19,17 @@ HAIL_PIP_VERSION := $(HAIL_MAJOR_MINOR_VERSION).$(HAIL_PATCH_VERSION)
19
HAIL_VERSION := $(HAIL_PIP_VERSION)-$(SHORT_REVISION)
20
ELASTIC_MAJOR_VERSION ?= 7
21
22
+ifndef REVISION
23
+$(error "git rev-parse HEAD" failed to produce output)
24
+endif
25
+
26
+ifndef SHORT_REVISION
27
+$(error "git rev-parse --short=12 HEAD" failed to produce output)
28
29
30
+ifndef BRANCH
31
+$(error "git rev-parse --abbrev-ref HEAD" failed to produce output)
32
33
34
$(eval $(call ENV_VAR,REVISION))
35
$(eval $(call ENV_VAR,SHORT_REVISION))
0 commit comments