forked from claudiodangelis/qrcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
67 lines (66 loc) · 2.04 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
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/claudiodangelis/qrcp/version.version={{.Version}} -X github.com/claudiodangelis/qrcp/version.date={{.Date}}
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 7
ignore:
- goos: darwin
goarch: 386
- goos: darwin
goarch: arm64
- goos: windows
goarch: arm64
archives:
# - replacements:
# darwin: macOS
# windows: Windows
# 386: i386
# amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^chore:'
release:
footer: |
## Downloads
| Platform | Download link |
|----------|-------------------------------------------------------------------------------------------------------------------------------|
| Linux | [deb package](https://github.com/claudiodangelis/qrcp/releases/download/{{ .Tag }}/qrcp_{{ .Tag }}_linux_x86_64.deb) |
| Linux | [RPM package](https://github.com/claudiodangelis/qrcp/releases/download/{{ .Tag }}/qrcp_{{ .Tag }}_linux_x86_64.rpm) |
| macOS | [macOS package](https://github.com/claudiodangelis/qrcp/releases/download/{{ .Tag }}/qrcp_{{ .Tag }}_macOS_x86_64.tar.gz) |
| Windows | [Windows package](https://github.com/claudiodangelis/qrcp/releases/download/{{ .Tag }}/qrcp_{{ .Tag }}_Windows_x86_64.tar.gz) |
Refer to the list of assets below for all supported platform.
nfpms:
# - replacements:
# darwin: macOS
# windows: Windows
# 386: i386
# amd64: x86_64
- homepage: https://qrcp.sh
maintainer: Claudio d'Angelis <claudiodangelis@gmail.com>
description: Transfer files over wifi from your computer to your mobile device by scanning a QR code without leaving the terminal.
license: MIT
formats:
- deb
- rpm