From e42fb4f61cea207b5bb8532d0b203eda0211fb4a Mon Sep 17 00:00:00 2001 From: Felitendo Date: Sat, 8 Aug 2026 14:45:07 +0200 Subject: [PATCH] Make the reported version follow the version actually being built VERSION is now overridable, so the PKGBUILD passes $pkgver into make and the two can no longer disagree. v1.0.1 shipped a Makefile that still said 1.0.0, so 'cachy-auto-update --version' reported the wrong release. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2286670..8429e86 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,10 @@ # targets degrade to a no-op when msgfmt/scdoc are missing, so the tree stays # usable for development without the build dependencies installed. -VERSION := 1.0.0 +# Overridable so a packager can pass the version it is actually building +# (`make VERSION=$pkgver`). The literal below is the fallback for builds +# straight from a checkout, and is what a release tag has to carry. +VERSION ?= 1.0.2 PREFIX ?= /usr DESTDIR ?=