-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
54 lines (52 loc) · 1.4 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
version: 2
before:
hooks:
- go mod tidy
- ./scripts/completions.sh
builds:
- env:
- CGO_ENABLED=0
# GOOS list to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
# Defaults are darwin and linux.
goos:
- linux
- darwin
- windows
# GOARCH to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
# Defaults are 386 and amd64.
goarch:
- amd64
- arm
- arm64
brews:
- name: git-releaser
repository:
owner: fhopfensperger
name: homebrew-tap
directory: Formula
homepage: https://fhopfensperger.github.io
description: Command line tool to create release branches and tags
license: Apache 2.0
test: |
system "#{bin}/git-releaser -v"
dependencies:
- name: go
type: optional
- name: git
type: optional
install: |-
bin.install "git-releaser"
bash_completion.install "completions/git-releaser.bash" => "git-releaser"
zsh_completion.install "completions/git-releaser.zsh" => "_git-releaser"
fish_completion.install "completions/git-releaser.fish"
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format_overrides:
- goos: windows
format: zip
files:
- README.md
- LICENSE
- completions/*