Skip to content

Commit

Permalink
goreleaser: simplify install script and use binary as the archive format
Browse files Browse the repository at this point in the history
  • Loading branch information
joshi4 committed Jan 4, 2024
1 parent 509d162 commit 5eecb6a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@ before:
# you may remove this if you don't need go generate
- go generate ./...

project_name: savvy
builds:
- id: "savvy"
binary: "savvy"
- id: savvy
binary: savvy
env:
- CGO_ENABLED=0
goos:
- linux
- darwin

archives:
- format: tar.gz
- format: binary
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
Expand Down

0 comments on commit 5eecb6a

Please sign in to comment.