Add release script for Gitea

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 22:26:17 +02:00
co-authored by Claude Sonnet 5.5
parent fa7e77c56d
commit c073e29b97
3 changed files with 143 additions and 2 deletions
+5 -1
View File
@@ -2,7 +2,7 @@ VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo dev)
LDFLAGS := -s -w -X main.version=$(VERSION)
TARGETS := linux/amd64 linux/arm64 darwin/amd64 darwin/arm64 windows/amd64
.PHONY: build test dist clean
.PHONY: build test dist release clean
build:
go build -ldflags '$(LDFLAGS)' -o arr-tui ./cmd/arr-tui
@@ -22,5 +22,9 @@ dist:
done
cd dist && sha256sum arr-tui-* > SHA256SUMS
# Publish the release for the tag at HEAD on Gitea (see scripts/release.sh).
release:
scripts/release.sh
clean:
rm -rf dist arr-tui