Skip to content

Commit 2e50ec1

Browse files
authored
Fix/goreleaser version (#118)
* .gitignore: add gitmux * goreleaser: upgrade from v1 to v2
1 parent bb31d30 commit 2e50ec1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci-cd.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
with:
3030
go-version: "1.20.x"
3131
- name: Run GoReleaser
32-
uses: goreleaser/goreleaser-action@v2
32+
uses: goreleaser/goreleaser-action@v6
3333
with:
3434
distribution: goreleaser
35-
version: latest
35+
version: "~> v2"
3636
args: release --clean
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
dist
2+
gitmux

.goreleaser.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
before:
23
hooks:
34
- go mod tidy
@@ -20,7 +21,6 @@ archives:
2021
files:
2122
- LICENSE
2223
- README.md
23-
rlcp: true
2424
checksum:
2525
name_template: "checksums.txt"
2626
snapshot:
@@ -39,9 +39,8 @@ brews:
3939
license: "MIT"
4040
url_template: "https://github.com/arl/gitmux/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
4141
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
42-
folder: Formula
4342
skip_upload: false
44-
tap:
43+
repository:
4544
owner: arl
4645
name: homebrew-arl
4746
branch: main

0 commit comments

Comments
 (0)