-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
88 lines (81 loc) · 2.17 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
version: 2
project_name: arc
before:
hooks:
- ./scripts/completions.sh
builds:
- dir: arc
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
- arm64
goarm:
- 7
ldflags:
- -s -w -X github.com/hubci/arc/arc/cmd.version={{ .Version }} -extldflags "-static"
env:
- CGO_ENABLED=0
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: >-
{{ .ProjectName }}-v{{ .Version }}-{{ if eq .Os "darwin" }}macos{{ else }}{{ .Os }}{{ end }}-{{ .Arch }}{{ if .Arm }}hf{{ end }}
files:
- ./LICENSE
- ./README.md
- ./completions/*
nfpms:
- package_name: hubci-arc
file_name_template: "{{ .PackageName }}-v{{ .Version }}-{{ .Arch }}{{ if .Arm }}hf{{ end }}"
homepage: "https://www.Feliciano.Tech"
maintainer: "Ricardo N Feliciano <[email protected]>"
description: "A helpful CircleCI and GitHub tool."
license: MIT
formats:
- deb
bindir: /usr/bin
conflicts:
- arc
contents:
- src: ./completions/arc.bash
dst: /usr/share/bash-completion/completions/arc
file_info:
mode: 0644
- src: ./completions/arc.fish
dst: /usr/share/fish/vendor_completions.d/arc.fish
file_info:
mode: 0644
- src: ./completions/arc.zsh
dst: /usr/share/zsh/vendor-completions/_arc
file_info:
mode: 0644
brews:
- repository:
owner: hubci
name: homebrew-tap
commit_author:
name: "Ricardo N Feliciano (FelicianoTech)"
email: "[email protected]"
directory: Formula
homepage: "https://github.com/hubci/arc"
description: "A helpful CircleCI and GitHub tool."
test: |
system "#{bin}/arc", "help"
install: |-
bin.install "arc"
bash_completion.install "completions/arc.bash" => "arc"
fish_completion.install "completions/arc.fish"
zsh_completion.install "completions/arc.zsh" => "_arc"
checksum:
name_template: "{{ .ProjectName }}-v{{ .Version }}-checksums.txt"
announce:
skip: "{{ gt .Patch 0 }}"
mastodon:
enabled: true
server: "https://nanobyte.cafe"