From 33518eb4a4cb0e6982175cb78c86990ecbe1821c Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sat, 6 Jun 2026 08:21:43 +0100 Subject: [PATCH] chore(release): prepare v2.0.1 (CI/test/build/release fixes, changelog, VERSION bump) --- CHANGELOG.md | 12 ++++++++++++ VERSION | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1be72c1..d55137e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ All notable changes to gostations will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.0.1] - 2026-06-06 + +### Fixed +- CI "Test" and "Build" flows: added `go mod tidy` (and Makefile `deps` targets) before `make test-short` / `make build` / cross to ensure complete `go.sum` for all modules (configparser, wmenu, charmbracelet/* etc.). This resolves repeated "missing go.sum entry" failures in minimal Gitea runners. +- `TestPrecheck_Unit` now skips gracefully (with clear message) when the configured player (default: mpv) is not installed. Prevents `os.Exit(1)` from failing the root package under `go test -short` in CI. +- Release workflow: added `shell: bash` to steps using bashisms; `go mod tidy` before cross builds; robust error handling in "Create Release & Upload Assets" (`set -euo pipefail`, `curl --fail`, explicit RELEASE_ID check, debug prints of API responses, "target" and "draft": false). Install scripts and asset packaging improved for portability. +- Makefile: removed duplicate SHELL lines, added per-platform `go mod download` inside `cross` for CI resilience, `release-notes` target. +- Pinned Go to 1.24.2 in workflows; modernized old `build.yml` (now proper test+build with checkout/setup-go/cache); cleaned `ci-build.sh`. +- Re-iterated v2.0.0 tag during debugging; process now stable for proper asset drops on Gitea releases page. + +See git history for details of the CI/release hardening. + ## [2.0.0] - 2026-06-05 v2.0 ships the new TUI and a pile of rewired plumbing. diff --git a/VERSION b/VERSION index 359a5b9..10bf840 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.0 \ No newline at end of file +2.0.1 \ No newline at end of file