Skip to content

Commit

Permalink
Create latest archive on releases
Browse files Browse the repository at this point in the history
  • Loading branch information
devstein committed Dec 30, 2020
1 parent 65326ab commit 700a7cb
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,24 @@ builds:
binary: "{{ .ProjectName }}"

archives:
- replacements:
- id: default
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64

- id: latest
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64

name_template: "{{ .ProjectName }}_latest_{{ .Os }}_{{ .Arch }}"

checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 700a7cb

Please # to comment.