Skip to content

Commit

Permalink
fix(goreleaser): do not run after hooks on intermediary steps (#987)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 authored Feb 26, 2025
1 parent ff9623a commit f007fc3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -275,32 +275,32 @@ winget:
after:
hooks:
- cmd: brew bump-cask-pr rio --version {{ .Version }}
if: "{{ .IsRelease }}"
if: "{{ and (.IsRelease .IsMerging )}}"
env: ["HOMEBREW_GITHUB_API_TOKEN={{ .Env.GITHUB_TOKEN }}"]
output: true
- cmd: cargo publish -p rio-window
if: "{{ .IsRelease }}"
if: "{{ and (.IsRelease .IsMerging )}}"
output: true
- cmd: cargo publish -p sugarloaf
if: "{{ .IsRelease }}"
if: "{{ and (.IsRelease .IsMerging )}}"
output: true
- cmd: cargo publish -p rio-proc-macros
if: "{{ .IsRelease }}"
if: "{{ and (.IsRelease .IsMerging )}}"
output: true
- cmd: cargo publish -p copa
if: "{{ .IsRelease }}"
if: "{{ and (.IsRelease .IsMerging )}}"
output: true
- cmd: cargo publish -p corcovado
if: "{{ .IsRelease }}"
if: "{{ and (.IsRelease .IsMerging )}}"
output: true
- cmd: cargo publish -p teletypewriter
if: "{{ .IsRelease }}"
if: "{{ and (.IsRelease .IsMerging )}}"
output: true
- cmd: cargo publish -p rio-backend
if: "{{ .IsRelease }}"
if: "{{ and (.IsRelease .IsMerging )}}"
output: true
- cmd: cargo publish -p rioterm
if: "{{ .IsRelease }}"
if: "{{ and (.IsRelease .IsMerging )}}"
output: true

metadata:
Expand Down

0 comments on commit f007fc3

Please sign in to comment.