This repository has been archived by the owner on Feb 15, 2023. It is now read-only.
/
.goreleaser.yml
159 lines (148 loc) · 3.97 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
project_name: bigfile
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
builds:
-
id: bigfile
main: ./artisan/bigfile.go
binary: bigfile
goos:
- darwin
- linux
- windows
goarch:
- 386
- amd64
- arm64
- arm
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: linux
goarch: arm
goarm: 6
archives:
-
id: bigfile-archive
builds:
- bigfile
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
algorithm: sha256
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch
- '[skip ci]'
dockers:
-
goos: linux
goarch: amd64
image_templates:
- "bigfile/bigfile:latest"
- "bigfile/bigfile:{{ .Tag }}"
skip_push: false
dockerfile: Dockerfile
binaries:
- bigfile
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
- "--label=com.github.actions.name={{.ProjectName}}"
- "--label=com.github.actions.description=a file transfer system that supports http, rpc and ftp protocols"
- "--label=com.github.actions.icon=terminal"
- "--label=com.github.actions.color=blue"
- "--label=repository=https://github.com/bigfile/bigfile"
- "--label=homepage=http://bigfile.site"
- "--label=maintainer=bigfilefu <[email protected]>"
- goos: linux
goarch: arm64
image_templates:
- "bigfile/bigfile:latest-arm64v8"
- "bigfile/bigfile:{{ .Tag }}-arm64v8"
skip_push: false
dockerfile: Dockerfile-arm64v8
binaries:
- bigfile
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
- "--label=com.github.actions.name={{.ProjectName}}"
- "--label=com.github.actions.description=a file transfer system that supports http, rpc and ftp protocols"
- "--label=com.github.actions.icon=terminal"
- "--label=com.github.actions.color=blue"
- "--label=repository=https://github.com/bigfile/bigfile"
- "--label=homepage=http://bigfile.site"
- "--label=maintainer=bigfilefu <[email protected]>"
brews:
-
ids:
- bigfile-archive
github:
owner: bigfile
name: homebrew-tap
folder: Formula
homepage: https://bigfile.site
caveats: start mysql before starting bigfile
description: A file transfer system that supports http, rpc and ftp protocols
test: |
system "#{bin}/bigfile -v"
scoop:
bucket:
owner: bigfile
name: scoop-bucket
homepage: https://bigfile.site
description: A file transfer system that supports http, rpc and ftp protocols
license: MIT
nfpms:
-
name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
homepage: https://bigfile.site
description: A file transfer system that supports http, rpc and ftp protocols
maintainer: bigfilefu <[email protected]>
license: MIT
vendor: Bigfile
formats:
- deb
- rpm
dependencies:
- git
recommends:
- rpm
snapcrafts:
-
name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
summary: A file transfer system that supports http, rpc and ftp protocols
description: |
Bigfile can be used to transfer files by multiple protolcs, eg: http, rpc
and ftp.
grade: stable
# grade: devel
confinement: strict
publish: true
name: bigfile
license: MIT
replacements:
amd64: 64-bit
386: 32-bit
darwin: MacOS
release:
prerelease: auto