diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4753569..8e1ee38 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: release on: push: tags: - - "v*.*.*" + - v*.*.* jobs: release_job: name: goreleaser & krew @@ -16,11 +16,12 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: "^1.22" + go-version: ^1.22 - name: GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: args: release --rm-dist + version: ~> v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Update new version in krew-index