Skip to content

Commit

Permalink
fix: add homebrew to goreleaser (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesmithgh authored Mar 26, 2024
1 parent 09a59b0 commit 4bf5e04
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,4 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GIT_PROMPT_STRING_CI_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GIT_PROMPT_STRING_CI_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_GIT_PROMPT_STRING_CI_TOKEN }}
14 changes: 14 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ archives:
format_overrides:
- goos: windows
format: zip
brews:
- repository:
owner: mikesmithgh
name: homebrew-git-prompt-string
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
folder: Formula
goarm: "7"
homepage: https://github.com/mikesmithgh/git-prompt-string
description: "A shell agnostic git prompt written in Go"
license: "Apache-2.0"
test: |
system "#{bin}/git-prompt-string --version"
dependencies:
- name: git

# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

0 comments on commit 4bf5e04

Please sign in to comment.