Skip to content

Commit 2f1c6d0

Browse files
committed
build: Improve homebrew tap
1 parent 481263a commit 2f1c6d0

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.goreleaser.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,24 @@ changelog:
4747
- "^test:"
4848

4949
brews:
50-
- name: go-awsp
50+
- name: awsp
5151
homepage: https://github.com/abyss/go-awsp
52+
description: "Easily switch between AWS Profiles with an interactive selector"
53+
54+
directory: Formula
5255
repository:
5356
owner: abyss
5457
name: homebrew-tools
5558
token: "{{ .Env.HOMEBREW_TOOLS_PAT }}"
5659

60+
install: |
61+
prefix.install "_source-awsp.sh"
62+
bin.install "go-awsp"
63+
64+
caveats: |
65+
##################################################################
66+
67+
To use awsp, add the following to your shell profile:
68+
alias awsp='source "$(brew --prefix awsp)/_source-awsp.sh"'
69+
70+
##################################################################

0 commit comments

Comments
 (0)