File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,10 +52,10 @@ builds:
5252 ldflags :
5353 - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser -X main.uptraceDsn={{.Env.UPTRACE_DSN}}
5454archives :
55- - format : tar.gz
55+ - formats : [ tar.gz]
5656 id : mt-common
5757 allow_different_binary_count : true
58- builds :
58+ ids :
5959 - mt-common
6060 - mt-daemon-linux
6161 # this name template makes the OS and Arch compatible with the results of uname.
@@ -69,11 +69,11 @@ archives:
6969 # use zip for windows archives
7070 format_overrides :
7171 - goos : windows
72- format : zip
73- - format : zip
72+ formats : [ zip]
73+ - formats : [ zip]
7474 id : mac
7575 allow_different_binary_count : true
76- builds :
76+ ids :
7777 - mt-mac
7878 - mt-daemon-mac
7979 name_template : >-
@@ -135,27 +135,25 @@ notarize:
135135 key_id : " {{.Env.QUILL_NOTARY_KEY_ID}}"
136136 key : " {{.Env.QUILL_NOTARY_KEY}}"
137137 wait : true
138- brews :
138+ # Homebrew Casks are macOS-only; Linux users install via the curl script.
139+ homebrew_casks :
139140 - name : shelltime
140141 ids :
141- - mt-common
142142 - mac
143+ binaries :
144+ - shelltime
145+ - shelltime-daemon
143146 repository :
144147 owner : shelltime
145148 name : homebrew-tap
146149 token : " {{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
147- directory : Formula
150+ directory : Casks
148151 homepage : " https://shelltime.xyz"
149152 description : " Track and analyze your shell usage - ShellTime CLI"
150153 license : " MIT"
151154 commit_author :
152155 name : shelltime-bot
153156 email : bot@shelltime.xyz
154- install : |
155- bin.install "shelltime"
156- bin.install "shelltime-daemon"
157- test : |
158- system "#{bin}/shelltime", "--version"
159157 caveats : |
160158 Get started with a single command:
161159 shelltime init
You can’t perform that action at this time.
0 commit comments