From 88ed87b09534f1db6c3c509c891c2b77cc50864c Mon Sep 17 00:00:00 2001 From: k3nny Date: Sat, 11 Jul 2026 21:47:39 +0200 Subject: [PATCH] =?UTF-8?q?build(ci):=20release=20v1.6.2=20=E2=80=94=20sta?= =?UTF-8?q?ticcheck=20in=20task=20ci,=20SA4006=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add go tool staticcheck ./... to the task ci pipeline (between vet and test), consistent with the Gitea CI workflow. Fix the SA4006 it surfaced in TestLatestTagTagsIterFails where err from PlainOpen was assigned but never read before being overwritten. Co-Authored-By: Claude Sonnet 4.6 --- CHANGELOG.md | 10 ++++++++++ README.md | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 941a0ab..4dab795 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). +## [1.6.2] - 2026-07-11 + +### Changed + +- **`task ci` now runs `go tool staticcheck ./...`** — runs between `go vet` and `go test`; matches the step already present in the Gitea CI workflow + +### Fixed + +- **SA4006 in `TestLatestTagTagsIterFails`** — `err` from `gogit.PlainOpen` was assigned then immediately overwritten without being read; added the missing `if err != nil { t.Fatalf(...) }` check + ## [1.6.1] - 2026-07-11 ### Fixed diff --git a/README.md b/README.md index d8ec3da..96f979a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # releaser -![release](https://img.shields.io/badge/release-v1.6.1-blue.svg) +![release](https://img.shields.io/badge/release-v1.6.2-blue.svg) A CI-friendly release automation tool for GitFlow workflows using Conventional Commits.