This repository was archived by the owner on Jun 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.goreleaser.yml
More file actions
71 lines (71 loc) · 1.48 KB
/
.goreleaser.yml
File metadata and controls
71 lines (71 loc) · 1.48 KB
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
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goarm:
- 6
- 7
goarch:
- amd64
- arm
- arm64
- 386
goos:
- linux
- windows
- darwin
- android
ignore:
- goos: android
goarch: arm
- goos: darwin
goarch: 386
- goos: darwin
goarch: arm
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
- goos: android
goarch: 386
archives:
-
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format_overrides:
- goos: windows
format: zip
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
files:
- config.yaml.example
- LICENSE
- README.md
- font.ttf
- dictionary.txt
release:
prerelease: auto
checksum:
name_template: 'checksums.txt'
project_name: opqbot-manager
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
gitea_urls:
api: https://git.mcenjoy.cn/api/v1/
download: https://git.mcenjoy.cn
# set to true if you use a self-signed certificate
skip_tls_verify: true