Skip to content

Commit 7d54748

Browse files
committed
chore: update goreleaser config and bump to 0.4.1
1 parent b554850 commit 7d54748

3 files changed

Lines changed: 7 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
uses: goreleaser/goreleaser-action@v6
2323
with:
2424
distribution: goreleaser
25-
version: latest
25+
version: "~> v2"
2626
args: release --clean
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

.goreleaser.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,21 @@ builds:
1616
- -X main.version={{.Version}} -w -s
1717

1818
archives:
19-
- format: tar.gz
20-
# this name template makes the tar.gz title compatible with
21-
# standard package managers
22-
name_template: >-
19+
- name_template: >-
2320
{{ .ProjectName }}_
2421
{{- title .Os }}_
2522
{{- if eq .Arch "amd64" }}x86_64
2623
{{- else if eq .Arch "386" }}i386
2724
{{- else }}{{ .Arch }}{{ end }}
2825
{{- if .Arm }}v{{ .Arm }}{{ end }}
29-
# use zip for windows
3026
format_overrides:
3127
- goos: windows
32-
format: zip
28+
formats: zip
3329
3430
checksum:
3531
name_template: 'checksums.txt'
3632

37-
brews:
33+
homebrews:
3834
- name: perfdeck
3935
repository:
4036
owner: sumant1122
@@ -49,7 +45,7 @@ brews:
4945
bin.install "perfdeck"
5046
5147
snapshot:
52-
name_template: "{{ incpatch .Version }}-next"
48+
version_template: "{{ incpatch .Version }}-next"
5349

5450
changelog:
5551
sort: asc

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
tea "github.com/charmbracelet/bubbletea"
1111
)
1212

13-
const version = "0.4.0"
13+
const version = "0.4.1"
1414

1515
func main() {
1616
if printVersion() {

0 commit comments

Comments
 (0)