Fix/goreleaser version (#118)

* .gitignore: add gitmux

* goreleaser: upgrade from v1 to v2
This commit is contained in:
Aurélien Rainone 2024-06-09 10:05:42 +02:00 committed by GitHub
parent bb31d3084e
commit 2e50ec1adb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -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 }}

1
.gitignore vendored
View file

@ -1 +1,2 @@
dist
gitmux

View file

@ -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