From ed1100d772014b7c97c01e606262c42cc0a3c4cc Mon Sep 17 00:00:00 2001 From: podhmo Date: Wed, 18 Mar 2026 10:54:48 +0900 Subject: [PATCH 1/2] chore: update for goreleaser --- .goreleaser.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e627749..2c38983 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,5 @@ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json +version: 2 project_name: ichigo builds: @@ -16,10 +17,10 @@ builds: ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} archives: - id: gzip - format: tar.gz + formats: ["tar.gz"] format_overrides: - goos: windows - format: zip + formats: ["zip"] files: - licence* - LICENCE* From c3b02f9d8e4ee332bc76b378f772a33b6464ceaf Mon Sep 17 00:00:00 2001 From: podhmo Date: Wed, 18 Mar 2026 10:56:51 +0900 Subject: [PATCH 2/2] chore: follow best practice --- .github/workflows/release.yml | 2 ++ .github/workflows/test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f5267fc..9002c92 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,8 @@ jobs: exit 1 - name: Checkout Sources uses: actions/checkout@v6 + with: + fetch-depth: 0 - name: Bump-up Semantic Version uses: kyoh86/git-vertag-action@v1.1.2 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 24d14f0..21b7428 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,6 +27,8 @@ jobs: steps: - name: Checkout Sources uses: actions/checkout@v6 + with: + fetch-depth: 0 - name: Setup Go uses: actions/setup-go@v6 with: