-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
41 lines (39 loc) · 938 Bytes
/
.goreleaser.yml
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
project_name: git-credential-substitute
env:
- GO111MODULE=on
builds:
- main: .
binary: git-credential-substitute
ldflags:
- -s -w
- -X main.version={{.Version}}
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
archives:
- name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
darwin: macOS
linux: linux
windows: windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
release:
prerelease: auto
# homebrew
brews:
- description: "git credential helper, which switches git credentials for the username/organization."
github:
owner: sadayuki-matsuno
name: homebrew-git-credential-substitute
homepage: "/~https://github.com/sadayuki-matsuno/git-credential-substitute"
install: |
bin.install "git-credential-substitute"