Skip to content

Commit

Permalink
fix: 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 08435c9 commit 3ca2435
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main", "release" ]
branches: [ "main" ]

jobs:

Expand Down
16 changes: 7 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,22 @@ changelog:
archives:
-
name_template: '{{ .ProjectName }}_{{.Env.RELEASE_VERSION}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
# replacements:
# darwin: darwin
# linux: linux
# 386: 386
# amd64: amd64
# format_overrides:
# - goos: windows
# format: zip
brews:
-
name: gvs
# alternative_names:
# - gvs@{{ .Version }}
# - gvs@{{ .Major }}
name: gvs@{{ .Major }}.{{ .Minor }}.{{ .Patch }}
tap:
owner: VassiliPallas
name: homebrew-gvs
branch: release
commit_author:
name: Vasileios Pallas
email: [email protected]
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"
homepage: "https://github.com/VassilisPallas/gvs"
Expand Down

0 comments on commit 3ca2435

Please sign in to comment.