Skip to content

Commit

Permalink
Fix for VHS URLs for Darwin
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Sep 13, 2023
1 parent b3e4aa0 commit ea189b6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/get/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -3798,11 +3798,7 @@ https://github.com/{{.Owner}}/{{.Repo}}/releases/download/{{.Version}}/{{.Repo}}
{{$extStr = "zip"}}
{{- end -}}
{{- if eq $osStr "Darwin"}}
https://github.com/{{.Owner}}/{{.Repo}}/releases/download/{{.Version}}/{{.Name}}_{{$osStr}}_{{$arch}}.{{$extStr}}
{{- else if or (eq $osStr "Windows") (eq $osStr "Linux") -}}
https://github.com/{{.Owner}}/{{.Repo}}/releases/download/{{.Version}}/{{.Name}}_{{.VersionNumber}}_{{$osStr}}_{{$arch}}.{{$extStr}}
{{- end -}}
`,
})

Expand Down

0 comments on commit ea189b6

Please sign in to comment.