From c92164eb37f6134f1a634e9b60a8740dbf8907f1 Mon Sep 17 00:00:00 2001 From: k3nny Date: Tue, 7 Jul 2026 00:18:04 +0200 Subject: [PATCH] fix(ci): fix build step output path conflict go build ./cmd/... tried to write a binary named "cmd" which conflicts with the source directory of the same name; pass -o /dev/null so the build step only verifies compilation without writing output. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/ci.yml | 2 +- CHANGELOG.md | 6 ++++++ README.md | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e7e67cf..e6017b3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -37,4 +37,4 @@ jobs: run: go test ./... - name: build - run: go build ./cmd/... + run: go build -o /dev/null ./cmd/... diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d4bbc3..7a22b69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). +## [0.4.1] - 2026-07-07 + +### Fixed + +- **CI build step** — `go build ./cmd/...` failed with "output already exists and is a directory" because Go tried to write a binary named `cmd`, conflicting with the source directory; fixed by passing `-o /dev/null` + ## [0.4.0] - 2026-07-07 ### Added diff --git a/README.md b/README.md index 7cf74c3..4fd3455 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # releaser -![release](https://img.shields.io/badge/release-v0.4.0-blue.svg) +![release](https://img.shields.io/badge/release-v0.4.1-blue.svg) A CI-friendly release automation tool for GitFlow workflows using Conventional Commits.