-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy path.goreleaser.yml
106 lines (96 loc) Β· 2.48 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
project_name: portal
before:
hooks:
- go mod tidy
builds:
- id: "portal-client-app"
main: ./cmd/portal
binary: portal
env:
- CGO_ENABLED=0
goarch:
- amd64
- arm64
goos:
- linux
- windows
- darwin
- freebsd
- netbsd
- openbsd
ldflags: -s -w -X main.version={{.Tag}} -X main.revision={{.ShortCommit}} -X main.date={{.Date}}
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
replacements:
amd64: x86_64
darwin: macOS
linux: Linux
windows: Windows
openbsd: OpenBSD
netbsd: NetBSD
freebsd: FreeBSD
files:
- LICENSE
- CREDITS
nfpms:
- formats:
- apk
- deb
- rpm
vendor: "portal"
description: "Portal is a quick and easy command-line file transfer utility from any computer to another π β¨"
license: "MIT"
package_name: portal
replacements:
amd64: x86_64
darwin: macOS
linux: Linux
windows: Windows
openbsd: OpenBSD
netbsd: NetBSD
freebsd: FreeBSD
brews:
- tap:
owner: SpatiumPortae
name: homebrew-portal
folder: Formula
homepage: "https://github.com/SpatiumPortae/portal"
description: "Portal is a quick and easy command-line file transfer utility from any computer to another π β¨"
license: "MIT"
# Snap builds are disabled until we get auto-connection of the "home" and "personal-files"
# plugins manually accepted in https://forum.snapcraft.io/c/store-requests/19.
#snapcrafts:
# - publish: true
# summary: Quick and easy command-line file transfer utility from any computer to another.
# description: |
# Portal is a quick and easy command-line file transfer utility from any computer to another π β¨.
# Transfers are fully encrypted, and made peer-to-peer if possible, with a fallback to a relay
# server if not.
# grade: stable
# confinement: strict
# license: MIT
# apps:
# portal:
# command: portal
# plugs: ["network", "network-bind", "network-observe", "network-status", "home", "personal-files"]
release:
prerelease: auto
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore"
- "merge conflict"
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- go mod tidy