summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/docker/Makefile')
-rw-r--r--pkg/docker/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/docker/Makefile b/pkg/docker/Makefile
index 140ac5b3..cf6de78d 100644
--- a/pkg/docker/Makefile
+++ b/pkg/docker/Makefile
@@ -1,10 +1,10 @@
#!/usr/bin/make
-DEFAULT_VERSION := $(shell grep 'define NXT_VERSION' ../../src/nxt_main.h \
- | sed -e 's/^.*"\(.*\)".*/\1/')
+include ../../version
+
DEFAULT_RELEASE := 1
-VERSION ?= $(DEFAULT_VERSION)
+VERSION ?= $(NXT_VERSION)
RELEASE ?= $(DEFAULT_RELEASE)
CODENAME := stretch