summaryrefslogtreecommitdiff
path: root/exports
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-10-23 08:21:22 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2023-10-23 08:30:15 +0200
commit67bd78f2e626602d8392482250d4328eb3b1b3a6 (patch)
treef816ec7486b404749f0d343895bd7333490d5279 /exports
parent3e8e89dd25fefcea14e3b7f3665fd99d401f9cb0 (diff)
All: Make it easier to update the version
Diffstat (limited to 'exports')
-rw-r--r--exports/common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/exports/common.mk b/exports/common.mk
index 940b3d4..d188cb9 100644
--- a/exports/common.mk
+++ b/exports/common.mk
@@ -19,7 +19,7 @@ LIB_SUFFIX ?= .so
endif
# Current version
-VERSION = 1.1.2
+VERSION := $(shell grep -o 'const Version = "[^"]*' ../internal/version/version.go | cut -d '"' -f 2)
# Library name without prefixes/suffixes
LIB_NAME ?= eduvpn_common