diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6140bb3..c98d2ec 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,10 +21,10 @@ jobs: go-version: ${{ env.GO_VERSION }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v6 with: - version: 2 - args: release --rm-dist + version: "~> v2" + args: release --clean env: CGO_ENABLED: 0 GITHUB_TOKEN: ${{ secrets.RELEASE_GH_TOKEN }} \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 4319ef7..5e5344a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,5 +1,5 @@ project_name: lc - +version: 2 before: hooks: - go mod tidy