This repository was archived by the owner on Sep 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yaml
102 lines (94 loc) · 2.95 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
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
project_name: tkn-watch
builds:
- main: dummy.go
goos:
- darwin
- linux
goarch:
- amd64
binary: tkn-watch
hooks:
post: /bin/bash -c "install -m755 target/darwin_amd64/tkn-watch/tkn-watch dist/tkn-watch_darwin_amd64_v1/tkn-watch;install -m755 target/linux_amd64/tkn-watch/tkn-watch dist/tkn-watch_linux_amd64_v1/tkn-watch"
archives:
- replacements:
darwin: macOS
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- src: misc/completions/*
dst: completions
strip_parent: true
- LICENSE
- README.md
checksum:
name_template: 'checksums.txt'
brews:
- name: tkn-watch
tap:
owner: chmouel
name: tkn-watch
folder: Formula
homepage: "https://github.com/chmouel/tkn-watch"
description: tkn-watch - watch tekton pipelinerun execution
install: |
bin.install "tkn-watch" => "tkn-watch"
prefix.install_metafiles
bash_completion.install "completions/tkn-watch.bash"
fish_completion.install "completions/tkn-watch.fish"
zsh_completion.install "completions/_tkn-watch"
nfpms:
- file_name_template: "tkn-watch-{{.Version}}_{{.Os}}-{{.Arch}}"
homepage: https://github.com/chmouel/tkn-watch
description: tkn-watch - watch tekton pipelinerun execution
maintainer: Chmouel Boudjnah <[email protected]>
license: Apache 2.0
formats:
- deb
- rpm
bindir: /usr/bin
replacements:
amd64: 64bit
386: 32bit
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
changelog:
sort: asc
use: github
filters:
exclude:
- "^docs:"
- "^test:"
- "^Brew formula update"
- Merge pull request
- Merge branch
- go mod tidy
- Update README.md
- "[release] "
universal_binaries:
- replace: true
name_template: "tkn-watch"
release:
prerelease: false
aurs:
- name: tkn-watch-bin
homepage: "https://github.com/chmouel/tkn-watch"
description: "tkn-watch - watch tekton pipelinerun execution"
maintainers:
- "Chmouel Boudjnah <[email protected]>"
license: Apache 2.0
private_key: "{{ .Env.AUR_PRIVATE_KEY }}"
git_url: ssh://[email protected]/tkn-watch-bin.git
package: |
# bin
install -Dm755 "./tkn-watch" "${pkgdir}/usr/bin/tkn-watch"
# license
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/tkn-watch/LICENSE"
# completions
mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
install -Dm644 "completions/tkn-watch.bash" "${pkgdir}/usr/share/bash-completion/completions/tkn-watch"
install -Dm644 "completions/tkn-watch.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/tkn-watch.fish"
install -Dm644 "completions/_tkn-watch" "${pkgdir}/usr/share/zsh/site-functions/_tkn-watch"