Skip to content

Commit

Permalink
feat: skip upload brew formula if no PAT
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Yang <[email protected]>
  • Loading branch information
reaver-flomesh committed Nov 21, 2024
1 parent 61ec125 commit d376ee3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,10 @@ brews:
description: Lightweight service mesh for Kubernetes East-West and North-South traffic management
license: Apache 2.0
test: |
system "#{bin}/fsm --version"
system "#{bin}/fsm version"
dependencies:
- name: go
type: optional
- name: git
type: optional
skip_upload: "{{ if index .Env 'HOMEBREW_RELEASE_PAT' }}false{{ else }}true{{ end }}"

0 comments on commit d376ee3

Please sign in to comment.