diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1a3d439d..991515e6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -56,9 +56,9 @@ jobs: repositories: "homebrew-nats-tools" - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: - version: latest + version: "~> v2" args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index b1399c88..066db3b0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,5 @@ project_name: natscli +version: 2 release: github: @@ -9,7 +10,7 @@ release: prerelease: auto changelog: - skip: true + disable: true builds: - main: ./nats @@ -54,7 +55,7 @@ checksum: brews: - name: nats - folder: Formula + directory: Formula repository: owner: nats-io name: homebrew-nats-tools