-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
59 lines (57 loc) · 1.63 KB
/
.goreleaser.yaml
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
---
before:
hooks:
- go mod tidy
- ./scripts/completions.sh
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/taskpoet/
mod_timestamp: '{{ .CommitTimestamp }}'
ldflags:
- '-s -w'
- -X github.com/drewstinnett/taskpoet/cmd/taskpoet/cmd.date={{ .CommitTimestamp }}
- -X github.com/drewstinnett/taskpoet/cmd/taskpoet/cmd.version={{ .Tag }}
- -X github.com/drewstinnett/taskpoet/cmd/taskpoet/cmd.commit={{ .ShortCommit }}
flags:
- -trimpath
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ignore:
- goos: darwin
goarch: '386'
binary: 'taskpoet'
archives:
- format: tar.gz
name_template: 'taskpoet-{{ .Version }}_{{ .Os }}_{{ .Arch }}'
files:
- completions/*
checksum:
name_template: 'taskpoet-{{ .Version }}_SHA256SUMS'
algorithm: sha256
snapshot:
name_template: "{{ .Tag }}-snapshot"
changelog:
skip: true
brews:
- name: 'taskpoet'
repository:
owner: drewstinnett
name: homebrew-taskpoet
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
description: "Alternative to the awesome TaskWarrior, but in Go, with some additional stuff I find useful"
homepage: "https://github.com/drewstinnett/taskpoet"
license: BSD-2-Clause
caveats: |
Add the following in your ~/.zshrc or ~/.profile for faster typin':
alias tp="#{opt_bin}/taskpoet"
install: |-
bin.install "taskpoet"
bash_completion.install "completions/taskpoet.bash" => "taskpoet"
zsh_completion.install "completions/taskpoet.zsh" => "_taskpoet"
fish_completion.install "completions/taskpoet.fish"