From aba51175c7541a6ba2e80e13b20c43e5d88ad500 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 15 Oct 2025 10:40:56 -0500 Subject: try to use config to track the build version --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6301441..df83647 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ VERSION = $(shell git describe --tags) BUILDTIME = $(shell date +%s) -justinstall: install +justinstall: install-verbose # This will re-generate ALL of the needed autogenerated .pb.go files generate: clean @@ -26,6 +26,10 @@ install: goimports GO111MODULE=off go install \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME}" +install-verbose: goimports + GO111MODULE=off go install -v \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME}" + vet: GO111MODULE=off go vet @@ -78,7 +82,7 @@ deb-with-commits-all: rm -f ~/incoming/*.deb forge commit --all forge normal - wit build deb --all --force --buildversion 8 + wit build deb --all --force --buildversion 9 deb-with-commits-all-riscv64: make commit -- cgit v1.2.3