-
Notifications
You must be signed in to change notification settings - Fork 28
/
.goreleaser.yml
44 lines (38 loc) · 928 Bytes
/
.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
project_name: Paperboy
version: 2
builds:
- binary: paperboy
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
goarm:
- 7
tags: ['{{ if index .Env "BUILD_WITH_UI" }}withUI{{ else }}noUI{{ end }}']
universal_binaries:
- name_template: paperboy
replace: true
archives:
- format: tar.gz
wrap_in_directory: false
format_overrides:
- goos: windows
format: zip
name_template: >-
{{- .ProjectName }}_{{ .Version }}_
{{- if eq .Os "darwin" }}macOS
{{- else }}{{- title .Os }}{{ end }}_
{{- if eq .Arch "all" }}universal
{{- else if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
changelog:
disable: true
release:
draft: true