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: with:
go-version: "1.20.x" go-version: "1.20.x"
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2 uses: goreleaser/goreleaser-action@v6
with: with:
distribution: goreleaser distribution: goreleaser
version: latest version: "~> v2"
args: release --clean args: release --clean
env: env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

1
.gitignore vendored
View file

@ -1 +1,2 @@
dist dist
gitmux

View file

@ -1,3 +1,4 @@
version: 2
before: before:
hooks: hooks:
- go mod tidy - go mod tidy
@ -20,7 +21,6 @@ archives:
files: files:
- LICENSE - LICENSE
- README.md - README.md
rlcp: true
checksum: checksum:
name_template: "checksums.txt" name_template: "checksums.txt"
snapshot: snapshot:
@ -39,9 +39,8 @@ brews:
license: "MIT" license: "MIT"
url_template: "https://github.com/arl/gitmux/releases/download/{{ .Tag }}/{{ .ArtifactName }}" url_template: "https://github.com/arl/gitmux/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
folder: Formula
skip_upload: false skip_upload: false
tap: repository:
owner: arl owner: arl
name: homebrew-arl name: homebrew-arl
branch: main branch: main