-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser-release.yml
99 lines (88 loc) · 2.58 KB
/
.goreleaser-release.yml
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
---
project_name: "dmux"
builds:
- skip: true
release:
github:
owner: "josh-silvas"
name: "dmux"
name_template: "{{ .Tag }}"
draft: true
mode: "append"
extra_files:
- glob: "./dmux-build/**/*"
- glob: "./dmux-build/checksums.txt"
brews:
- name: "dmux"
commit_author:
name: "Josh Silvas"
email: "[email protected]"
tap:
owner: "josh-silvas"
name: "dmux"
folder: "Formula"
url_template: "https://github.com/josh-silvas/dmux/releases/{{ .ProjectName }}/{{ .Tag }}/{{ .ArtifactName }}"
caveats: |
DMux v{{ .Tag }} Notes:
1. DMux will create it's own system keychain called 'DMux-Keyring'
1a. You may need to reauthenticate dmux to this keychain after update because the binary is
a different signature.
2. Release changelog located at:
- https://github.com/josh-silvas/dmux/releases/tag/{{ .Tag }}
3. For issues with this tool, please submit a GitHub issue here:
- https://github.com/josh-silvas/dmux/issues
v{{ .Tag }} NEW RELEASE INFO:
4. Initial release!
homepage: "https://github.com/josh-silvas/dmux"
description: "DMux is a cli tool with ssh functionality for assist Network Engineering teams."
skip_upload: "auto"
test: "system '#{bin}/dmux'"
install: "bin.install 'dmux'"
nfpms:
- id: "dmux"
file_name_template: >-
{{- .ProjectName }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
builds:
- "dmux-linux-amd64"
vendor: "Josh Silvas"
homepage: "https://github.com/josh-silvas/dmux"
maintainer: "Josh Silvas <[email protected]>"
description: "DMux is a cli tool with ssh functionality for assist Network Engineering teams."
license: "Apache 2.0"
formats:
- "deb"
bindir: "/usr/local/bin"
epoch: "1"
archives:
- name_template: >-
{{- .ProjectName }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
format: "tar.gz"
files:
- "LICENSE*"
- "README*"
- "CHANGELOG*"
checksum:
name_template: "checksums.txt"
changelog:
filters:
exclude:
- "^docs:"
- "^test:"
sort: "asc"
dist: "build"
env_files:
github_token: "~/.config/goreleaser/github_com_token"
github_urls:
api: "https://github.com/api/v3/"
upload: "https://github.com/api/uploads/"
download: "https://github.com/"