-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.goreleaser.yml
More file actions
61 lines (50 loc) · 1.33 KB
/
Copy path.goreleaser.yml
File metadata and controls
61 lines (50 loc) · 1.33 KB
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
57
58
59
60
61
version: 2
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -X main.Version={{.Version}}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
checksum:
name_template: "checksums.txt"
archives:
- name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
files:
- completions/*
- man/*
format_overrides:
- goos: windows
formats:
- zip
brews:
- name: git-get
description: Go gets your code
homepage: https://github.com/arbourd/git-get
install: |
bin.install "git-get"
man1.install "man/git-get.1"
bash_completion.install "completions/git-get.bash" => "git-get"
zsh_completion.install "completions/git-get.zsh" => "_git_get"
fish_completion.install "completions/git-get.fish"
test: |
repo = "github.com/arbourd/git-get"
assert_match "#{testpath}/src/#{repo}", shell_output("#{bin}/git-get #{repo}")
cd "#{testpath}/src/#{repo}" do
assert_match "https://#{repo}", shell_output("git remote -v")
end
conflicts:
- git-extras
directory: Formula
repository:
owner: arbourd
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: Dylan Arbour
email: arbourd@users.noreply.github.com