-
Notifications
You must be signed in to change notification settings - Fork 11
/
.goreleaser.yml
56 lines (50 loc) · 1.13 KB
/
.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
project_name: git-profile
archives:
- id: git-profile
files:
- LICENSE*
- README*
format: tar.gz
name_template: "{{.Binary}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
386: 32bit
amd64: 64bit
darwin: macOS
linux: Linux
brews:
- name: git-profile
commit_author:
name: dotzero
email: [email protected]
description: Git Profile allows to add and switch between multiple user profiles in your git repositories
folder: Formula
homepage: https://github.com/dotzero/git-profile
tap:
owner: dotzero
name: homebrew-tap
install: |
bin.install "git-profile"
test: |
system "#{bin}/git-profile version"
builds:
- binary: git-profile
env:
- CGO_ENABLED=0
flags:
- -trimpath
goarch:
- 386
- amd64
goos:
- darwin
- linux
ldflags: -s -w -X main.Version={{.Version}} -X main.CommitHash={{.Commit}} -X main.CompileDate={{.Date}}
main: .
universal_binaries:
- replace: true
checksum: { name_template: checksums.txt }
release:
github:
owner: dotzero
name: git-profile