-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
92 lines (85 loc) · 2.26 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
version: 2
before:
hooks:
- go test ./...
- echo "Starting GoReleaser..."
builds:
- id: filefusion
main: ./cmd/filefusion/main.go
binary: filefusion
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=1
flags:
- -tags=bash cpp csharp golang css html java php kotlin javascript ruby python swift typescript sql
overrides:
- goos: linux
goarch: arm64
env:
- CGO_ENABLED=1
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++
- goos: windows
goarch: amd64
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
- goos: darwin
goarch: amd64
env:
- CGO_ENABLED=1
- CC=o64-clang
- CXX=o64-clang++
- goos: darwin
goarch: arm64
env:
- CGO_ENABLED=1
- CC=oa64-clang
- CXX=oa64-clang++
ignore:
- goos: windows
goarch: arm64
archives:
- id: filefusion-archive
name_template: >-
{{ .ProjectName }}_{{ .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
files:
- README*
- LICENSE*
allow_different_binary_count: true
release:
prerelease: auto
draft: false
mode: replace
name_template: 'v{{ .Version }}'
header: |
## FileFusion {{ .Version }}
For full details, see the [documentation](https://github.com/drgsn/filefusion#readme).
footer: |
**Full Changelog**: https://github.com/drgsn/filefusion/compare/{{ .PreviousTag }}...{{ .Tag }}
checksum:
name_template: 'checksums.txt'
algorithm: sha256
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- Merge pull request
- Merge branch