10 lines
230 B
Makefile
10 lines
230 B
Makefile
|
|
||
|
VERSION = $(shell git describe --tags --abbrev=0)
|
||
|
|
||
|
build_release:
|
||
|
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)
|
||
|
|