From 76320aa8139f2fd9c49e63cfc18f0b1ea83dc2a4 Mon Sep 17 00:00:00 2001 From: Arsen6331 Date: Tue, 22 Nov 2022 03:23:14 +0000 Subject: [PATCH] Switch version.txt target to use go generate --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9f3be57..17a7cc1 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,6 @@ uninstall: rm $(CFG_PREFIX)/itd.toml version.txt: - printf "r%s.%s" "$(shell git rev-list --count HEAD)" "$(shell git rev-parse --short HEAD)" > version.txt + go generate .PHONY: all clean install uninstall \ No newline at end of file