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

This commit is contained in:
Arsen6331 2022-11-22 03:23:14 +00:00
parent b64e6d27d4
commit 76320aa813
1 changed files with 1 additions and 1 deletions

View File

@ -25,6 +25,6 @@ uninstall:
rm $(CFG_PREFIX)/itd.toml rm $(CFG_PREFIX)/itd.toml
version.txt: 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 .PHONY: all clean install uninstall