forked from zaquestion/lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
65 lines (65 loc) · 1.82 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
57
58
59
60
61
62
63
64
65
project_name: lab
release:
github:
owner: zaquestion
name: lab
name_template: '{{.Tag}}'
brew:
description: "Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab"
homepage: "https://github.com/zaquestion/lab"
github:
owner: zaquestion
name: homebrew-tap
commit_author:
name: goreleaserbot
email: [email protected]
install: bin.install "lab"
test: |
system "git", "init"
%w[haunted house].each { |f| touch testpath/f }
system "git", "add", "haunted", "house"
system "git", "commit", "-a", "-m", "Initial Commit"
lab_env_config = "LAB_CORE_HOST=foo LAB_CORE_USER=bar LAB_CORE_TOKEN=baz"
assert_equal "haunted\nhouse", shell_output("#{lab_env_config} #{bin}/lab ls-files").strip
scoop:
bucket:
owner: zaquestion
name: scoop-bucket
commit_author:
name: goreleaserbot
email: [email protected]
homepage: "https://github.com/zaquestion/lab"
description: "Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab"
license: Unlicense
builds:
- goos:
- linux
- darwin
- windows
goarch:
- amd64
- "386"
goarm:
- "6"
main: .
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: lab
archive:
format: tar.gz
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
changelog:
filters:
# commit messages matching the regexp listed here will be removed from
# the changelog
# Default is empty
exclude:
- '^\(docs\)'
- '^\(travis\)'
- '^\(coverage\)'
- '^\(tests?'
- '^Merge pull request'