Skip to content

Commit

Permalink
chore: update goreleaser configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Oct 11, 2022
1 parent a5f4bc6 commit 03f9fe9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Both will install as `./bin/misspell`. You can adjust the download location usi
If you use [Go](https://golang.org/), the best way to run `misspell` is by using [gometalinter](#gometalinter). Otherwise, install `misspell` the old-fashioned way:

```
go get -u github.com/client9/misspell/cmd/misspell
go install github.com/client9/misspell/cmd/misspell@latest
```

and misspell will be in your `GOPATH`
Expand Down
25 changes: 9 additions & 16 deletions goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# goreleaser.yml
# https://github.com/goreleaser/goreleaser

project_name: misspell

builds:
Expand All @@ -14,22 +11,18 @@ builds:
- windows
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
ignore:
- goos: darwin
goarch: 386
- goos: windows
goarch: 386

archive:
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
amd64: 64bit
386: 32bit
darwin: mac
files:
- none*
archives:
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
amd64: 64bit
386: 32bit
darwin: mac
files:
- LICENSE

checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
Expand Down

0 comments on commit 03f9fe9

Please sign in to comment.