diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 4ff7a5d..55d568e 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -29,10 +29,10 @@ jobs: with: go-version: "1.20.x" - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser - version: latest + version: "~> v2" args: release --clean env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/.gitignore b/.gitignore index 1521c8b..26bb5fb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ dist +gitmux diff --git a/.goreleaser.yml b/.goreleaser.yml index 28ecf58..5b4b863 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: - go mod tidy @@ -20,7 +21,6 @@ archives: files: - LICENSE - README.md - rlcp: true checksum: name_template: "checksums.txt" snapshot: @@ -39,9 +39,8 @@ brews: license: "MIT" url_template: "https://github.com/arl/gitmux/releases/download/{{ .Tag }}/{{ .ArtifactName }}" commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" - folder: Formula skip_upload: false - tap: + repository: owner: arl name: homebrew-arl branch: main