Skip to content

Commit

Permalink
Merge pull request #219 from hatappi/hatappi/replace-deprecated-confi…
Browse files Browse the repository at this point in the history
…g-for-goreleaser

Replace deprecated config for goreleaser
  • Loading branch information
hatappi authored Jun 30, 2024
2 parents 550697e + 9d70ed6 commit b734392
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,19 @@ builds:
- -X github.com/hatappi/gomodoro/cmd.version={{.Version}}
- -X github.com/hatappi/gomodoro/cmd.commit={{.Commit}}
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: true
disable: true
release:
github:
owner: hatappi
Expand Down

0 comments on commit b734392

Please sign in to comment.