-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.goreleaser.yml
More file actions
79 lines (71 loc) · 1.68 KB
/
Copy path.goreleaser.yml
File metadata and controls
79 lines (71 loc) · 1.68 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
version: 2
project_name: odoo-work-cli
before:
hooks:
- go mod tidy
- ./scripts/completions.sh
builds:
- id: odoo-work-cli
main: ./cmd/odoo-work-cli
binary: odoo-work-cli
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
ldflags:
- -s -w
- -X github.com/seletz/odoo-work-cli/internal/version.Version={{.Version}}
archives:
- formats: [tar.gz]
name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
formats: [zip]
files:
- completions/*
checksum:
name_template: "checksums-{{ .Tag }}.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"
release:
prerelease: auto
homebrew_casks:
- name: odoo-work-cli
binaries:
- odoo-work-cli
repository:
owner: seletz
name: homebrew-tap
branch: main
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
commit_msg_template: "Update {{ .ProjectName }} to {{ .Tag }}"
directory: Casks
homepage: "https://github.com/seletz/odoo-work-cli"
description: "CLI tool for managing Odoo 17 timesheets"
license: "MIT"
completions:
bash: completions/odoo-work-cli.bash
zsh: completions/_odoo-work-cli
fish: completions/odoo-work-cli.fish
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/odoo-work-cli"]
end