From bd3c305b9dcb8c207c00a3eae9396687a0082a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D7=A0=CF=85=CE=B1=CE=B7=20=D7=A0=CF=85=CE=B1=CE=B7=D1=95?= =?UTF-8?q?=CF=83=CE=B7?= Date: Mon, 2 Mar 2026 20:41:15 -0800 Subject: [PATCH] chore: improve release workflow and goreleaser config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add step names to release workflow and remove stale comments. Expand goreleaser config with archives and snapshot template. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/release.yml | 15 ++++++++------- .goreleaser.yaml | 5 +++++ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0908b3..b85622c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,6 @@ --- -name: release packages +name: Release + on: push: tags: @@ -7,9 +8,6 @@ on: permissions: contents: write - # packages: write - # issues: write - # permission is mandatory for trusted publishing id-token: write jobs: @@ -19,11 +17,14 @@ jobs: - uses: actions/checkout@v6 with: fetch-depth: 0 - - run: git fetch --force --tags - - uses: actions/setup-go@v6 + - name: Fetch tags + run: git fetch --force --tags + - name: Set up Go + uses: actions/setup-go@v6 with: go-version: stable - - uses: goreleaser/goreleaser-action@v7 + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v7 with: distribution: goreleaser version: latest diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 13b6daf..1cd7d30 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -8,8 +8,13 @@ before: builds: - skip: true +archives: + - formats: + - binary checksum: name_template: 'checksums.txt' +snapshot: + version_template: "{{ incpatch .Version }}.dev" changelog: sort: asc filters: