diff --git a/Makefile b/Makefile index 5a9ff06..e009b71 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,11 @@ VERSION = $(shell git describe --tags --abbrev=0) build_release: - CGO_ENABLED=0 go build -buildmode=pie -ldflags "-X main.version=$(VERSION)" -o tglistbot-$(VERSION) + CGO_ENABLED=0 go build -buildmode=pie -ldflags "-X main.Version=$(VERSION)" -o tglistbot-$(VERSION) release_check: go list -m go.balki.me/tglistbot@$(VERSION) +clean: + rm -i tglistbot* || true +