-
Notifications
You must be signed in to change notification settings - Fork 6
/
.goreleaser.yml
56 lines (56 loc) · 1.2 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
release:
github:
owner: qownnotes
name: qc
name_template: '{{.Tag}}'
# https://goreleaser.com/customization/homebrew/
#brews:
# -
# tap:
# owner: qownnotes
# name: homebrew-qc
# description: "QOwnNotes command-line snippet manager"
# homepage: "https://github.com/qownnotes/qc"
# dependencies:
# - fzf
# install: |
# bin.install Dir['qc']
# zsh_completion.install "misc/completions/zsh/_qc"
# test: |
# system "#{bin}/qc"
builds:
- goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
- arm64
- "386"
goarm:
- "6"
main: .
ldflags: -s -w -X github.com/qownnotes/qc/cmd.version={{.Version}}
archives:
-
format: tar.gz
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- LICENSE*
- README*
- CHANGELOG*
- misc/completions/zsh/_qc
nfpms:
-
homepage: https://github.com/qownnotes/qc
maintainer: Patrizio Bekerle <[email protected]>
description: "QOwnNotes command-line snippet manager"
bindir: /usr/local/bin
license: MIT
formats:
- deb
- rpm
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'