Skip to content

Commit

Permalink
Fix/goreleaser version (#118)
Browse files Browse the repository at this point in the history
* .gitignore: add gitmux

* goreleaser: upgrade from v1 to v2
  • Loading branch information
arl authored Jun 9, 2024
1 parent bb31d30 commit 2e50ec1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dist
gitmux
5 changes: 2 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
- go mod tidy
Expand All @@ -20,7 +21,6 @@ archives:
files:
- LICENSE
- README.md
rlcp: true
checksum:
name_template: "checksums.txt"
snapshot:
Expand All @@ -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
Expand Down

0 comments on commit 2e50ec1

Please sign in to comment.