Skip to content

Commit cda7ec6

Browse files
committed
fixed fomatting issue in goreleaser
1 parent 224a345 commit cda7ec6

21 files changed

Lines changed: 199 additions & 2 deletions

.goreleaser.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ universal_binaries:
1818
- replace: true
1919

2020
brews:
21-
-
22-
name: perfops
21+
- name: perfops
2322
homepage: https://github.com/ProspectOne/perfops-cli
2423
tap:
2524
owner: ProspectOne

dist/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## Changelog
2+
* 224a345 updated github actions release file

dist/artifacts.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"name":"perfops","path":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_arm64/perfops","goos":"linux","goarch":"arm64","internal_type":4,"type":"Binary","extra":{"Binary":"perfops","Ext":"","ID":"perfops-cli"}},{"name":"perfops","path":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_amd64_v1/perfops","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":4,"type":"Binary","extra":{"Binary":"perfops","Ext":"","ID":"perfops-cli"}},{"name":"perfops-cli","path":"dist/perfops-cli_darwin_all/perfops-cli","goos":"darwin","goarch":"all","internal_type":5,"type":"Binary","extra":{"Binary":"perfops","Ext":"","ID":"perfops-cli","Replaces":true}},{"name":"perfops-cli_0.8.6_Linux_arm64.tar.gz","path":"dist/perfops-cli_0.8.6_Linux_arm64.tar.gz","goos":"linux","goarch":"arm64","internal_type":1,"type":"Archive","extra":{"Binaries":["perfops"],"Builds":[{"name":"perfops","path":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_arm64/perfops","goos":"linux","goarch":"arm64","internal_type":4,"type":"Binary","extra":{"Binary":"perfops","Ext":"","ID":"perfops-cli"}}],"Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"perfops-cli_0.8.6_Linux_x86_64.tar.gz","path":"dist/perfops-cli_0.8.6_Linux_x86_64.tar.gz","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":1,"type":"Archive","extra":{"Binaries":["perfops"],"Builds":[{"name":"perfops","path":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_amd64_v1/perfops","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":4,"type":"Binary","extra":{"Binary":"perfops","Ext":"","ID":"perfops-cli"}}],"Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"perfops-cli_0.8.6_Darwin_all.tar.gz","path":"dist/perfops-cli_0.8.6_Darwin_all.tar.gz","goos":"darwin","goarch":"all","internal_type":1,"type":"Archive","extra":{"Binaries":["perfops-cli"],"Builds":[{"name":"perfops-cli","path":"dist/perfops-cli_darwin_all/perfops-cli","goos":"darwin","goarch":"all","internal_type":5,"type":"Binary","extra":{"Binary":"perfops","Ext":"","ID":"perfops-cli","Replaces":true}}],"Format":"tar.gz","ID":"default","Replaces":true,"WrappedIn":""}},{"name":"perfops-cli_0.8.6_linux_arm64.deb","path":"dist/perfops-cli_0.8.6_linux_arm64.deb","goos":"linux","goarch":"arm64","internal_type":6,"type":"Linux Package","extra":{"Builds":[{"name":"perfops","path":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_arm64/perfops","goos":"linux","goarch":"arm64","internal_type":4,"type":"Binary","extra":{"Binary":"perfops","Ext":"","ID":"perfops-cli"}}],"Files":[{"src":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_arm64/perfops","dst":"/usr/bin/perfops","file_info":{"mode":493,"mtime":"0001-01-01T00:00:00Z"}}],"Format":"deb","ID":"default"}},{"name":"perfops-cli_0.8.6_linux_amd64.apk","path":"dist/perfops-cli_0.8.6_linux_amd64.apk","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":6,"type":"Linux Package","extra":{"Builds":[{"name":"perfops","path":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_amd64_v1/perfops","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":4,"type":"Binary","extra":{"Binary":"perfops","Ext":"","ID":"perfops-cli"}}],"Files":[{"src":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_amd64_v1/perfops","dst":"/usr/bin/perfops","file_info":{"mode":493,"mtime":"0001-01-01T00:00:00Z"}}],"Format":"apk","ID":"default"}},{"name":"perfops-cli_0.8.6_linux_amd64.rpm","path":"dist/perfops-cli_0.8.6_linux_amd64.rpm","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":6,"type":"Linux Package","extra":{"Builds":[{"name":"perfops","path":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_amd64_v1/perfops","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":4,"type":"Binary","extra":{"Binary":"perfops","Ext":"","ID":"perfops-cli"}}],"Files":[{"src":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_amd64_v1/perfops","dst":"/usr/bin/perfops","file_info":{"mode":493,"mtime":"0001-01-01T00:00:00Z"}}],"Format":"rpm","ID":"default"}},{"name":"perfops-cli_0.8.6_linux_arm64.rpm","path":"dist/perfops-cli_0.8.6_linux_arm64.rpm","goos":"linux","goarch":"arm64","internal_type":6,"type":"Linux Package","extra":{"Builds":[{"name":"perfops","path":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_arm64/perfops","goos":"linux","goarch":"arm64","internal_type":4,"type":"Binary","extra":{"Binary":"perfops","Ext":"","ID":"perfops-cli"}}],"Files":[{"src":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_arm64/perfops","dst":"/usr/bin/perfops","file_info":{"mode":493,"mtime":"0001-01-01T00:00:00Z"}}],"Format":"rpm","ID":"default"}},{"name":"perfops-cli_0.8.6_linux_arm64.apk","path":"dist/perfops-cli_0.8.6_linux_arm64.apk","goos":"linux","goarch":"arm64","internal_type":6,"type":"Linux Package","extra":{"Builds":[{"name":"perfops","path":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_arm64/perfops","goos":"linux","goarch":"arm64","internal_type":4,"type":"Binary","extra":{"Binary":"perfops","Ext":"","ID":"perfops-cli"}}],"Files":[{"src":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_arm64/perfops","dst":"/usr/bin/perfops","file_info":{"mode":493,"mtime":"0001-01-01T00:00:00Z"}}],"Format":"apk","ID":"default"}},{"name":"perfops-cli_0.8.6_linux_amd64.deb","path":"dist/perfops-cli_0.8.6_linux_amd64.deb","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":6,"type":"Linux Package","extra":{"Builds":[{"name":"perfops","path":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_amd64_v1/perfops","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":4,"type":"Binary","extra":{"Binary":"perfops","Ext":"","ID":"perfops-cli"}}],"Files":[{"src":"/Users/j.frazier.admin/Development/DigiCert/Perofps/perfops-cli/dist/perfops-cli_linux_amd64_v1/perfops","dst":"/usr/bin/perfops","file_info":{"mode":493,"mtime":"0001-01-01T00:00:00Z"}}],"Format":"deb","ID":"default"}},{"name":"checksums.txt","path":"dist/checksums.txt","internal_type":12,"type":"Checksum","extra":{}},{"name":"perfops.rb","path":"dist/perfops.rb","internal_type":16,"type":"Brew Tap","extra":{"BrewConfig":{"name":"perfops","tap":{"owner":"ProspectOne","name":"homebrew-perfops"},"commit_author":{"name":"jrFrazier","email":"jfrazier@tiggee.com"},"commit_msg_template":"Brew formula update for {{ .ProjectName }} version {{ .Tag }}","homepage":"https://github.com/ProspectOne/perfops-cli","goarm":"6","goamd64":"v1"}}}]

dist/checksums.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
130e16127fca3f0aca96d7f127f471ca7c6d9133a4d9a5e59353eb0667df586b perfops-cli_0.8.6_linux_amd64.rpm
2+
169694de63df1c6910d1de9f8af2018a778ff307935875745f101621e4c87751 perfops-cli_0.8.6_linux_arm64.rpm
3+
22990d1c8e1f8855376eb57f5a19c7c84669213d325d2f214a31016be8260054 perfops-cli_0.8.6_linux_amd64.apk
4+
310db5ad37e6ac45265815680caf4d27a7e05e204ddaa468f791a53886a9a148 perfops-cli_0.8.6_linux_arm64.apk
5+
42f05ecb22e520c7b806e45a108111d4f3fbcfc37072fddcd5066cc779960838 perfops-cli_0.8.6_Linux_x86_64.tar.gz
6+
536c319d9b3a1b169c8fb700e63b96083e9d2dcf02e4a637e93841694079e9dc perfops-cli_0.8.6_linux_arm64.deb
7+
60528fb3d6805fa4d192a27736993c2592ce52a422090436fc64a158fac02466 perfops-cli_0.8.6_linux_amd64.deb
8+
a129fe8b0d70a99650ce0b0b877da99ee5f2f2245a78afbfd72c18220b88d779 perfops-cli_0.8.6_Darwin_all.tar.gz
9+
dcde135dd38667c2757551f9b4e00da2f11d5b587b38748050c4bf80c7067100 perfops-cli_0.8.6_Linux_arm64.tar.gz

dist/config.yaml

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
project_name: perfops-cli
2+
release:
3+
github:
4+
owner: ProspectOne
5+
name: perfops-cli
6+
prerelease: auto
7+
name_template: '{{.Tag}}'
8+
brews:
9+
- name: perfops
10+
tap:
11+
owner: ProspectOne
12+
name: homebrew-perfops
13+
commit_author:
14+
name: jrFrazier
15+
email: jfrazier@tiggee.com
16+
commit_msg_template: Brew formula update for {{ .ProjectName }} version {{ .Tag }}
17+
homepage: https://github.com/ProspectOne/perfops-cli
18+
goarm: "6"
19+
goamd64: v1
20+
scoop:
21+
name: perfops-cli
22+
commit_author:
23+
name: goreleaserbot
24+
email: bot@goreleaser.com
25+
commit_msg_template: Scoop update for {{ .ProjectName }} version {{ .Tag }}
26+
goamd64: v1
27+
builds:
28+
- id: perfops-cli
29+
goos:
30+
- darwin
31+
- linux
32+
goarch:
33+
- amd64
34+
- arm64
35+
goarm:
36+
- "6"
37+
gomips:
38+
- hardfloat
39+
goamd64:
40+
- v1
41+
targets:
42+
- darwin_amd64_v1
43+
- darwin_arm64
44+
- linux_amd64_v1
45+
- linux_arm64
46+
dir: .
47+
main: .
48+
binary: perfops
49+
builder: go
50+
gobinary: go
51+
command: build
52+
ldflags:
53+
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
54+
flags:
55+
- -mod=vendor
56+
env:
57+
- CGO_ENABLED=0
58+
archives:
59+
- id: default
60+
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
61+
replacements:
62+
"386": i386
63+
amd64: x86_64
64+
darwin: Darwin
65+
linux: Linux
66+
windows: Windows
67+
format: tar.gz
68+
files:
69+
- src: license*
70+
- src: LICENSE*
71+
- src: readme*
72+
- src: README*
73+
- src: changelog*
74+
- src: CHANGELOG*
75+
nfpms:
76+
- file_name_template: '{{ .PackageName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
77+
package_name: perfops-cli
78+
id: default
79+
formats:
80+
- deb
81+
- rpm
82+
- apk
83+
maintainer: JR Frazier
84+
bindir: /usr/bin
85+
snapshot:
86+
name_template: '{{ incpatch .Version }}-next'
87+
checksum:
88+
name_template: checksums.txt
89+
algorithm: sha256
90+
changelog:
91+
filters:
92+
exclude:
93+
- '^docs:'
94+
- '^test:'
95+
sort: asc
96+
dist: dist
97+
env_files:
98+
github_token: ~/.config/goreleaser/github_token
99+
gitlab_token: ~/.config/goreleaser/gitlab_token
100+
gitea_token: ~/.config/goreleaser/gitea_token
101+
source:
102+
name_template: '{{ .ProjectName }}-{{ .Version }}'
103+
format: tar.gz
104+
gomod:
105+
gobinary: go
106+
announce:
107+
twitter:
108+
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
109+
reddit:
110+
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
111+
url_template: '{{ .ReleaseURL }}'
112+
slack:
113+
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
114+
username: GoReleaser
115+
discord:
116+
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
117+
author: GoReleaser
118+
color: "3888754"
119+
icon_url: https://goreleaser.com/static/avatar.png
120+
teams:
121+
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
122+
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
123+
color: '#2D313E'
124+
icon_url: https://goreleaser.com/static/avatar.png
125+
smtp:
126+
subject_template: '{{ .ProjectName }} {{ .Tag }} is out!'
127+
body_template: 'You can view details from: {{ .ReleaseURL }}'
128+
mattermost:
129+
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
130+
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
131+
username: GoReleaser
132+
linkedin:
133+
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
134+
telegram:
135+
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
136+
webhook:
137+
message_template: '{ "message": "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}"}'
138+
content_type: application/json; charset=utf-8
139+
universal_binaries:
140+
- id: perfops-cli
141+
ids:
142+
- perfops-cli
143+
name_template: '{{ .ProjectName }}'
144+
replace: true
145+
github_urls:
146+
download: https://github.com
147+
gitlab_urls:
148+
download: https://gitlab.com

dist/metadata.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"project_name":"perfops-cli","tag":"v0.8.6","previous_tag":"v0.8.5","version":"0.8.6","commit":"224a34587a882bfd54d6af4903687884371471f4","date":"2022-11-14T11:32:16.612831-05:00","runtime":{"goos":"darwin","goarch":"arm64"}}
5.23 MB
Binary file not shown.
2.36 MB
Binary file not shown.
2.57 MB
Binary file not shown.
2.66 MB
Binary file not shown.

0 commit comments

Comments
 (0)