-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.goreleaser.yaml
43 lines (43 loc) · 1.1 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
project_name: gosimports
changelog:
skip: true
builds:
- id: gosimports
main: ./cmd/gosimports/
ldflags: -s -w -X main.version=v{{ .Version }}
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
- s390x
- ppc64le
ignore:
- goos: darwin
goarch: s390x
- goos: darwin
goarch: ppc64le
- goos: windows
goarch: s390x
- goos: windows
goarch: ppc64le
brews:
- name: gosimports
tap:
owner: rinchsan
name: homebrew-tap
url_template: "https://github.com/rinchsan/gosimports/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: goreleaserbot
email: goreleaser@carlosbecker.com
folder: Formula
homepage: "https://pkg.go.dev/github.com/rinchsan/gosimports/cmd/gosimports"
description: Command gosimports updates your Go import lines, adding missing ones, removing unreferenced ones, and removing redundant blank lines.
test: |
system "#{bin}/gosimports --help"
install: |
bin.install "gosimports"