-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
88 lines (79 loc) · 1.78 KB
/
Copy path.goreleaser.yaml
File metadata and controls
88 lines (79 loc) · 1.78 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: 2
project_name: logseq-doctor
before:
hooks:
- go mod download
- go mod tidy
- go generate ./...
builds:
- main: ./cmd/lqd/main.go
binary: lqd
ldflags:
- -s -w -X main.version={{.Version}}
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
- main: ./cmd/lqd-statusbar/main.go
binary: lqd-statusbar
ldflags:
- -s -w -X main.version={{.Version}}
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- amd64
- arm64
archives:
- name_template: >-
{{ .ProjectName }}_{{ .Version }}_{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
files:
- docs/readme.md
- LICENSE
- docs/changelog.md
format_overrides:
- goos: windows
formats: [zip]
checksum:
name_template: "checksums.txt"
snapshot:
version_template: "{{ .Tag }}-next"
changelog:
sort: asc
use: github-native
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"
# https://goreleaser.com/customization/homebrew_casks/
homebrew_casks:
- name: logseq-doctor
commit_author:
name: andreoliwa
email: andreoliwa@sent.com
commit_msg_template: "Cask update for {{ .ProjectName }} version {{ .Tag }}"
directory: Casks
homepage: "https://github.com/andreoliwa/logseq-doctor"
description: "Heal your Logseq Markdown files"
license: "MIT"
# Repository to push the generated files to.
repository:
pull_request:
enabled: true
draft: true
base:
branch: master
owner: andreoliwa
name: homebrew-formulae
branch: release
token: "{{ .Env.GITHUB_TOKEN }}"