From c5be536e787008487fd91331a4a46fe0e226145a Mon Sep 17 00:00:00 2001 From: Kai Schwarz Date: Thu, 14 Mar 2019 14:39:17 +0100 Subject: [PATCH] fix(makefile): version detection --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ad64150..65cf2c2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION := $(shell php -r 'include "ispapibackorder.php"; print $$module_version;') +VERSION := $(shell node -p "require('./release.json').version") REPOID := whmcs-ispapi-backorder FOLDER := pkg/$(REPOID)-$(VERSION)