-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
.goreleaser.yaml
125 lines (113 loc) · 2.2 KB
/
.goreleaser.yaml
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
124
125
before:
hooks:
- go mod tidy
builds:
# - id: seanime-darwin-amd64
# binary: seanime
# main: .
# goarch:
# - amd64
# goos:
# - darwin
# env:
# - CGO_ENABLED=1
# - CC=clang
# flags:
# - -trimpath
# ldflags:
# - -s -w
#
# - id: seanime-darwin-arm64
# binary: seanime
# main: .
# goarch:
# - arm64
# goos:
# - darwin
# env:
# - CGO_ENABLED=1
# - CC=clang
# flags:
# - -trimpath
# ldflags:
# - -s -w
- id: seanime-darwin-amd64
binary: seanime
main: .
goarch:
- amd64
goos:
- darwin
env:
- CGO_ENABLED=0
- id: seanime-darwin-arm64
binary: seanime
main: .
goarch:
- arm64
goos:
- darwin
env:
- CGO_ENABLED=0
- id: seanime-linux-amd64
binary: seanime
main: .
goarch:
- amd64
goos:
- linux
env:
- CGO_ENABLED=0
- id: seanime-linux-arm64
binary: seanime
main: .
goarch:
- arm64
goos:
- linux
env:
- CGO_ENABLED=0
- id: seanime-windows-amd64
binary: seanime
main: .
goarch:
- amd64
goos:
- windows
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
flags:
- -trimpath
- -buildmode=exe
ldflags:
- -s -w -H=windowsgui -extldflags "-static"
archives:
- id: seanime
name_template: '{{- .ProjectName }}-
{{- .Version }}_
{{- if eq .Os "darwin" }}MacOS
{{- else }}{{- title .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}'
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
release:
github:
owner: 5rahim
name: seanime
draft: true
replace_existing_draft: true
name_template: "v{{.Version}}"
header: |
## What's new?
footer: |
---
[Open an issue](https://github.com/5rahim/seanime/issues/new/choose)
Compare: https://github.com/5rahim/seanime/compare/{{ .PreviousTag }}...{{ .Tag }}