-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
66 lines (58 loc) · 1.38 KB
/
Copy path.goreleaser.yaml
File metadata and controls
66 lines (58 loc) · 1.38 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
# SPDX-FileCopyrightText: Winni Neessen <wn@neessen.dev>
#
# SPDX-License-Identifier: MIT
version: 2
before:
hooks:
- go mod tidy
- go mod download
- go mod verify
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- arm64
- amd64
goamd64:
- v1
main: ./cmd/js-mailer/
binary: js-mailer
ldflags:
- -w -s -extldflags "-static" -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser -X github.com/wneessen/js-mailer/internal/httpclient.version={{.Version}}
changelog:
use: github-native
nfpms:
- vendor: Winni Neessen
homepage: https://github.com/wneessen/js-mailer
maintainer: Winni Neessen <wn@neessen.dev>
description: |-
A form mailer web service for JavaScript-based websites
license: MIT
formats:
- apk
- deb
- rpm
- termux.deb
- archlinux
file_name_template: >-
{{- trimsuffix .ConventionalFileName .ConventionalExtension -}}
{{- if not (eq .Amd64 "v1")}}{{ .Amd64 }}{{ end -}}
{{- .ConventionalExtension -}}
signs:
- artifacts: checksum
cmd: gpg2
args:
- "--batch"
- "-u"
- "{{ .Env.GPG_FINGERPRINT }}"
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"
universal_binaries:
- replace: false
report_sizes: true
gomod:
mod: mod