diff --git a/Makefile b/Makefile index 898da0ea..2ee02c62 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PACKER_VERSION := 1.10.0 PWN_HOSTNAME := pwnagotchi -PWN_VERSION := ${PWN_VERSION} +PWN_VERSION := $(shell cut -d"'" -f2 < pwnagotchi/_version.py) MACHINE_TYPE := $(shell uname -m) ifneq (,$(filter x86_64,$(MACHINE_TYPE)))