Add release script for Gitea
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user