-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
122 lines (110 loc) · 2.89 KB
/
.goreleaser.yaml
File metadata and controls
122 lines (110 loc) · 2.89 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
project_name: prayertime-cli
before:
hooks:
- go test ./...
builds:
- id: prayertime-cli
main: ./cmd/prayertime-cli
binary: prayertime-cli
flags:
- -trimpath
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ldflags:
- >-
-s -w
-X github.com/SeeknnDestroy/prayertime-cli/internal/version.commit={{ .Commit }}
-X github.com/SeeknnDestroy/prayertime-cli/internal/version.date={{ .Date }}
-X github.com/SeeknnDestroy/prayertime-cli/internal/version.tag={{ .Version }}
archives:
- id: release-archive
ids:
- prayertime-cli
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
formats:
- tar.gz
format_overrides:
- goos: windows
formats:
- zip
files:
- LICENSE
- README.md
- README.tr.md
- completions/*
- docs/cli/*
- docs/man/*
checksum:
name_template: checksums.txt
snapshot:
version_template: "{{ incpatch .Version }}-dev"
source:
enabled: true
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
replace_existing_draft: true
sboms:
- artifacts: archive
documents:
- "{{ .ArtifactName }}.sbom.spdx.json"
homebrew_casks:
- name: prayertime-cli
ids:
- release-archive
skip_upload: "{{ .IsSnapshot }}"
repository:
owner: "{{ .Env.HOMEBREW_TAP_OWNER }}"
name: "{{ .Env.HOMEBREW_TAP_NAME }}"
branch: main
token: "{{ .Env.GITHUB_TOKEN }}"
directory: Casks
homepage: "https://github.com/SeeknnDestroy/prayertime-cli"
description: "CLI-first, agent-native Islamic prayer times tool"
license: "MIT"
commit_author:
name: prayertime-cli bot
email: actions@github.com
commit_msg_template: "brew: update {{ .ProjectName }} to {{ .Tag }}"
binaries:
- prayertime-cli
manpages:
- docs/man/*.1
completions:
bash: completions/prayertime-cli.bash
zsh: completions/_prayertime-cli
fish: completions/prayertime-cli.fish
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/prayertime-cli"]
end
scoops:
- skip_upload: "{{ .IsSnapshot }}"
repository:
owner: "{{ .Env.SCOOP_BUCKET_OWNER }}"
name: "{{ .Env.SCOOP_BUCKET_NAME }}"
branch: main
token: "{{ .Env.GITHUB_TOKEN }}"
directory: bucket
homepage: "https://github.com/SeeknnDestroy/prayertime-cli"
description: "CLI-first, agent-native Islamic prayer times tool"
license: "MIT"
commit_author:
name: prayertime-cli bot
email: actions@github.com
commit_msg_template: "scoop: update {{ .ProjectName }} to {{ .Tag }}"