-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.arm64.yml
119 lines (110 loc) · 2.63 KB
/
.goreleaser.arm64.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
before:
hooks:
- make dep
- make bindings
builds:
- main: .
binary: "{{ .ProjectName }}"
goos:
- linux
goarch:
- arm64
env:
- CGO_ENABLED=1
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- -s -w -X main.Version={{.Version}} -X main.useWails=true
tags:
- desktop
- production
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- .Arch }}
files:
- usr/**/*
checksum:
name_template: 'checksums-arm64.txt'
source:
enabled: false
sboms:
- artifacts: archive
- id: source
artifacts: source
signs:
- cmd: cosign
env:
- COSIGN_EXPERIMENTAL=1
certificate: '${artifact}-arm64.pem'
signature: '${artifact}-arm64.sig'
args:
- sign-blob
- '--output-certificate=${certificate}'
- '--output-signature=${signature}'
- '${artifact}'
- "--yes"
artifacts: checksum
output: true
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
- vendor: postpilot
license: MIT
homepage: https://postpilot.watzon.tech
maintainer: "Watzon <[email protected]>"
description: "Email and SMTP testing GUI for developers"
formats:
- deb
- rpm
- apk
- archlinux
bindir: /usr/local/bin
contents:
- src: ./build/linux/postpilot_0.0.0_ARCH/usr/share/applications/postpilot.desktop
dst: /usr/share/applications/postpilot.desktop
- src: ./build/linux/postpilot_0.0.0_ARCH/usr/share/icons/hicolor/512x512/apps/postpilot.png
dst: /usr/share/icons/hicolor/512x512/apps/postpilot.png
- src: ./build/linux/postpilot_0.0.0_ARCH/usr/share/metainfo/tech.watzon.postpilot.appdata.xml
dst: /usr/share/metainfo/tech.watzon.postpilot.appdata.xml
dependencies:
- gtk3
- webkit2gtk-4.0
- libayatana-appindicator3-1
- libwebkit2gtk-4.0-37
- libgtk-3-0
- xdg-utils
overrides:
rpm:
dependencies:
- gtk3
- webkit2gtk4.0
- libappindicator-gtk3
- webkit2gtk3
apk:
dependencies:
- gtk+3.0
- webkit2gtk
- libappindicator
archlinux:
dependencies:
- gtk3
- webkit2gtk
- libappindicator-gtk3
rpm:
packager: "Watzon <[email protected]>"
deb:
fields:
Maintainer: "Watzon <[email protected]>"
Bugs: https://github.com/watzon/postpilot/issues
archlinux:
packager: "Watzon <[email protected]>"