Skip to content

Commit

Permalink
Introduce Homebrew update support
Browse files Browse the repository at this point in the history
Extend GoReleaser configuration to update the respective Homebrew tap.
  • Loading branch information
HeavyWombat committed Feb 15, 2021
1 parent ab68590 commit 5638dd1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,26 @@ changelog:
exclude:
- '^docs:'
- '^test:'

brews:
- tap:
owner: homeport
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"

url_template: "https://github.com/homeport/termshot/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
download_strategy: CurlDownloadStrategy.

# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: GoReleaser Bot
email: goreleaser@carlosbecker.com

folder: HomebrewFormula
homepage: "https://github.com/homeport/termshot"
description: "Creates screenshots based on terminal command output."
license: "MIT"
skip_upload: false
test: |
system "#{bin}/termshot --version"

0 comments on commit 5638dd1

Please sign in to comment.