release.sh: drop unused variable; run shellcheck in make test

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 22:32:30 +02:00
co-authored by Claude Sonnet 5.5
parent c073e29b97
commit a7765c5079
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@ build:
test:
go vet ./...
go test ./...
@if command -v shellcheck >/dev/null; then shellcheck scripts/*.sh dev/*.sh; else echo "shellcheck not installed, skipping shell script checks"; fi
# Cross-compiled binaries and checksums in dist/.
dist:
-1
View File
@@ -87,7 +87,6 @@ echo "release: $repo on $base, $tag is free"
[[ $mode == check ]] && exit 0
# --- release text from the changelog ------------------------------------------
version=${tag#v}
python3 - "$tag" "$tmp/release.json" <<'PY' || die "CHANGELOG.md has no section for $tag"
import json, re, sys
tag, out = sys.argv[1], sys.argv[2]