From 4993398ffdc15106aeef0ce242f69c655f701976 Mon Sep 17 00:00:00 2001 From: lx1056758714-glitch Date: Thu, 18 Dec 2025 21:57:55 +0800 Subject: [PATCH] Update artifact upload path and build ID Changed the artifact upload path in the release workflow to include all .exe files in the dist directory. Also updated the build ID from 'chatlog-builds' to 'chatlog' in .goreleaser.yaml for consistency. --- .github/workflows/release.yml | 2 +- .goreleaser.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1c6854..6283759 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,4 +50,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: chatlog-snapshot - path: dist/chatlog_windows_amd64_v1/chatlog.exe \ No newline at end of file + path: dist/**/*.exe \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 2842fa6..76a088f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -6,7 +6,7 @@ before: - go mod tidy builds: - - id: chatlog-builds + - id: chatlog binary: chatlog ldflags: - -s -w -X github.com/sjzar/chatlog/pkg/version.Version={{.Version}}