-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
58 lines (58 loc) · 1.4 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
before:
hooks:
- go mod download
- go mod tidy
builds:
-
id: frgm-linux
env:
- CGO_ENABLED=0
goos:
- linux
ldflags:
- -s -w -X github.com/k1LoW/frgm.version={{.Version}} -X github.com/k1LoW/frgm.commit={{.FullCommit}} -X github.com/k1LoW/frgm.date={{.Date}} -X github.com/k1LoW/frgm/version.Version={{.Version}}
-
id: frgm-darwin
env:
- CGO_ENABLED=0
goos:
- darwin
goarch:
- arm64
- amd64
ldflags:
- -s -w -X github.com/k1LoW/frgm.version={{.Version}} -X github.com/k1LoW/frgm.commit={{.FullCommit}} -X github.com/k1LoW/frgm.date={{.Date}} -X github.com/k1LoW/frgm/version.Version={{.Version}}
archives:
-
id: frgm-archive
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format_overrides:
- goos: darwin
format: zip
files:
- LICENSE
- CREDITS
- README.md
- CHANGELOG.md
rlcp: true
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Version }}-next"
changelog:
skip: true
nfpms:
-
id: frgm-nfpms
file_name_template: "{{ .ProjectName }}_{{ .Version }}-1_{{ .Arch }}"
builds:
- frgm-linux
homepage: https://github.com/k1LoW/frgm
maintainer: Ken'ichiro Oyama <k1lowxb@gmail.com>
description: frgm is a meta snippet (fragment) manager.
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
epoch: 1