Switch version.txt target to use go generate
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Elara 2022-11-22 03:23:14 +00:00
parent b64e6d27d4
commit 76320aa813

View File

@ -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