-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
65 lines (57 loc) · 1.1 KB
/
.goreleaser.yaml
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
project_name: wl-uploader
before:
hooks:
- go mod tidy
- go generate ./...
archives:
- format: binary
builds:
- main: "."
mod_timestamp: '{{ .CommitTimestamp }}'
goos:
- linux
- darwin
goarch:
- amd64
- arm
tags:
- netgo
- osusergo
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -s -w -extldflags '-static'
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
name_template: 'v{{ .Version }}'
make_latest: true
nfpms:
- vendor: labi-le
# Your app's homepage.
homepage: https://github.com/labi-le/wl-paste-uploader
# Your app's maintainer (probably you).
maintainer: labi-le <[email protected]>
# Your app's description.
description: |-
wl-paste share to 0x0.st
# Your app's license.
license: MIT
# Formats to be generated.
formats:
- deb
- rpm
- archlinux
dependencies:
- wl-clipboard
version_metadata: git