-
-
Notifications
You must be signed in to change notification settings - Fork 102
/
.goreleaser.yml
63 lines (58 loc) · 1.59 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
project_name: lab
release:
github:
owner: zaquestion
name: lab
name_template: '{{.Tag}}'
brews:
- description: "Interacts with GitLab repositories creating/editing merge requests, issues, milestones, snippets and CI pipelines."
homepage: "https://github.com/zaquestion/lab"
tap:
owner: zaquestion
name: homebrew-tap
commit_author:
name: goreleaserbot
email: goreleaser@carlosbecker.com
install: bin.install "lab"
test: |
lab_new_version = "lab version {{.Version}}"
assert_match lab_new_version, shell_output("#{bin}/lab --version").strip
scoop:
bucket:
owner: zaquestion
name: scoop-bucket
commit_author:
name: goreleaserbot
email: goreleaser@carlosbecker.com
homepage: "https://github.com/zaquestion/lab"
description: "Interacts with GitLab repositories creating/editing merge requests, issues, milestones, snippets and CI pipelines."
license: CC0
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: lab
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{.Arm }}{{ end }}'
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
changelog:
filters:
exclude:
- '^\(docs\)'
- '^\(gitlab-ci\)'
- '^\(travis\)'
- '^\(coverage\)'
- '^\(tests?'
- '^Merge pull request'