Skip to content

Commit 86ec828

Browse files
committed
update goreleaser file for deb package and 3.4.0 release
1 parent cbeea1e commit 86ec828

1 file changed

Lines changed: 26 additions & 10 deletions

File tree

.goreleaser.yaml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ before:
44
# You may remove this if you don't use go modules.
55
- go mod tidy
66
- docker pull alpine:latest
7-
- cd webserver && pnpm install && pnpm build && cd ..
7+
- sh -c "cd webserver && pnpm install && pnpm build && cd .."
88
builds:
99
- env:
1010
- CGO_ENABLED=0
@@ -29,14 +29,31 @@ builds:
2929
goarm:
3030
- "6"
3131
- "7"
32+
universal_binaries:
33+
- replace: true
34+
nfpms:
35+
- id: checkrr
36+
package_name: checkrr
37+
vendor: aetaric
38+
homepage: https://github.com/aetaric/checkrr
39+
maintainer: "aetaric <aetaric@proton.me>"
40+
description: |-
41+
checkrr checks media files for corruption
42+
license: MIT
43+
formats:
44+
- deb
45+
recommends:
46+
- sonarr
47+
- radarr
48+
bindir: /usr/bin
49+
contents:
50+
- dst: /etc/checkrr.yaml
51+
src: checkrr.yaml.example
52+
type: config
3253
archives:
33-
- replacements:
34-
darwin: macOS
35-
linux: Linux
36-
windows: Windows
37-
freebsd: FreeBSD
38-
386: i386
39-
amd64: x86_64
54+
- format_overrides:
55+
- goos: windows
56+
format: zip
4057
checksum:
4158
name_template: 'checksums.txt'
4259
snapshot:
@@ -152,5 +169,4 @@ docker_manifests:
152169
- aetaric/{{.ProjectName}}:latest-amd64
153170
- aetaric/{{.ProjectName}}:latest-arm64v8
154171
- aetaric/{{.ProjectName}}:latest-armv6
155-
- aetaric/{{.ProjectName}}:latest-armv7
156-
172+
- aetaric/{{.ProjectName}}:latest-armv7

0 commit comments

Comments
 (0)