-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.goreleaser.yml
123 lines (114 loc) · 3.16 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# Make sure to check the documentation at http://goreleaser.com
# ---------------------------
# General
# ---------------------------
before:
hooks:
- make test
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- '^.github:'
- '^test:'
# ---------------------------
# Builder
# ---------------------------
builds:
- env:
- CGO_ENABLED=0
- GO111MODULE=on
binary: "paymail"
goarch:
- amd64
- arm64
goos:
- darwin
- linux
- windows
goarm:
- 6
- 7
ldflags:
- -s -w -X github.com/mrz1836/{{ .ProjectName }}/cmd.Version={{ .Version }}
# ---------------------------
# Archives + Checksums
# ---------------------------
archives:
- wrap_in_directory: app
name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
algorithm: sha256
# ---------------------------
# Github Release
# ---------------------------
release:
prerelease: true
name_template: "Release v{{.Version}}"
# ---------------------------
# Brews - OSX
# ---------------------------
brews:
-
tap:
owner: mrz1836
name: homebrew-paymail-inspector
commit_author:
name: mrz1836
email: mrz1818@protonmail.ch
caveats: |
See the Github repo for more information
homepage: /~https://github.com/mrz1836/paymail-inspector
description: &description |
CLI app for interacting with paymail service providers
install: |
bin.install "paymail"
test: |
system "#{bin}/paymail", "--version"
system "#{bin}/paymail", "-h"
# ---------------------------
# Announce
# ---------------------------
announce:
# See more at: https://goreleaser.com/customization/announce/#slack
slack:
enabled: false
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Changelog: /~https://github.com/mrz1836/{{ .ProjectName }}/releases/tag/{{ .Tag }}'
channel: '#test_slack'
# username: ''
# icon_emoji: ''
# icon_url: ''
# See more at: https://goreleaser.com/customization/announce/#twitter
twitter:
enabled: false
message_template: '{{ .ProjectName }} {{ .Tag }} is out!'
# See more at: https://goreleaser.com/customization/announce/#discord
discord:
enabled: false
message_template: '{{ .ProjectName }} {{ .Tag }} is out!'
# Defaults to `GoReleaser`
author: ''
# Defaults to `3888754` - the grey-ish from goreleaser
color: ''
# Defaults to `https://goreleaser.com/static/avatar.png`
icon_url: ''
# See more at: https://goreleaser.com/customization/announce/#reddit
reddit:
enabled: false
# Application ID for Reddit Application
application_id: ""
# Username for your Reddit account
username: ""
# Defaults to `{{ .GitURL }}/releases/tag/{{ .Tag }}`
# url_template: '/~https://github.com/mrz1836/{{ .ProjectName }}/releases/tag/{{ .Tag }}'
# Defaults to `{{ .ProjectName }} {{ .Tag }} is out!`
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'