Skip to content

Commit

Permalink
feat: add repository details to go releaser for brew
Browse files Browse the repository at this point in the history
  • Loading branch information
VassilisPallas committed Oct 23, 2023
1 parent d33dfdf commit 19f4673
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ archives:
# format: zip
brews:
-
name: gvs@{{ .Major }}.{{ .Minor }}.{{ .Patch }}
name: gvs
commit_author:
name: Vasileios Pallas
email: vspallas@gmail.com
url_template: https://github.com/VassilisPallas/gvs/releases/download/{{ .Tag }}/{{ .ArtifactName }}
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
download_strategy: CurlDownloadStrategy
folder: Formula
caveats: "Type 'gvs' on your command line and choose the Go version that you want from the dropdown. This command currently only works on macOS and Linux"
caveats: "Type 'gvs' on your command line and choose the Go version that you want from the dropdown. This command currently only works on macOS and Linux."
homepage: "https://github.com/VassilisPallas/gvs"
license: "MIT"
description: "A command line tool to manage multiple active Go versions."
Expand All @@ -53,4 +53,8 @@ brews:
test: |
system "#{bin}/gvs --version"
install: |
bin.install "gvs"
bin.install "gvs"
repository:
owner: VassilisPallas
name: homebrew-tap
branch: main

0 comments on commit 19f4673

Please sign in to comment.