ci: GitHub Actions release workflow and Makefile

This commit is contained in:
Niklas Ye
2026-05-22 11:59:21 +02:00
parent f8e085e610
commit 24c2e6003a
2 changed files with 69 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
VERSION := $(shell git describe --tags --always --dirty)
.PHONY: build install test
build:
go build -ldflags "-X main.version=$(VERSION)" -o terdut-tui .
install:
go install -ldflags "-X main.version=$(VERSION)" .
test:
go test ./...