From aaab1be2c4f2bc91e82e2eba5142bd2389cca07d Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Fri, 22 Nov 2024 21:27:38 -0800 Subject: [PATCH 1/4] change --rm-dist to --clean --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93cac72..23aa8aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,4 +16,4 @@ jobs: uses: goreleaser/goreleaser-action@v1 with: version: latest - args: release --snapshot --rm-dist + args: release --snapshot --clean diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80a730f..288b49c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: uses: goreleaser/goreleaser-action@v1 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Update new version in krew-index From f57e7f0c1f71668955dac9b837a50019940aff53 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Fri, 22 Nov 2024 21:29:59 -0800 Subject: [PATCH 2/4] go/goreleaser version bump --- .github/workflows/ci.yml | 3 ++- .github/workflows/release.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23aa8aa..f793692 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,4 @@ +version: 2 name: ci on: push: @@ -11,7 +12,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version: '1.20' + go-version: '1.23' - name: GoReleaser uses: goreleaser/goreleaser-action@v1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 288b49c..405a86d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,4 @@ +version: 2 name: release on: push: @@ -12,7 +13,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version: '1.20' + go-version: '1.23' - name: GoReleaser uses: goreleaser/goreleaser-action@v1 with: From b3fb46225f14287a6ee3973ed96a4eba7743c873 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Fri, 22 Nov 2024 21:32:43 -0800 Subject: [PATCH 3/4] fix workflow --- .github/workflows/ci.yml | 1 - .github/workflows/release.yml | 1 - .goreleaser.yml | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4836460..17b671f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,3 @@ -version: 2 name: ci on: push: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bf08bb..d928cb8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,3 @@ -version: 2 name: release on: push: diff --git a/.goreleaser.yml b/.goreleaser.yml index 735023c..118e155 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: - go mod download From 3d31c41b61ad8bc972f5b9f252ea39f937502b68 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Sat, 23 Nov 2024 05:36:20 +0000 Subject: [PATCH 4/4] write a go version --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17b671f..d38cbfb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version-file: 'go.mod' + go-version: '1.23' - name: GoReleaser uses: goreleaser/goreleaser-action@v1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d928cb8..69ea1fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v1 with: - go-version-file: 'go.mod' + go-version: '1.23' - name: GoReleaser uses: goreleaser/goreleaser-action@v1 with: