Skip to content

Commit

Permalink
adding brew installer for labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
clubanderson committed Apr 7, 2024
1 parent 8a01c34 commit b847a61
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions brew/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Mac trash
.DS_Store
14 changes: 14 additions & 0 deletions brew/Formula/labeler.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
class Labeler < Formula
desc "Utility that automates the labeling of resources output from kubectl, kustomize, and helm"
homepage "https://github.com/clubanderson/labeler"
url "https://github.com/clubanderson/labeler/releases/download/v0.1.0/labeler-v0.1.0.tar.gz"
sha256 "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"

def install
bin.install "labeler"
end

test do
system "#{bin}/labeler", "--version"
end
end
18 changes: 18 additions & 0 deletions brew/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Instructions for installing the Labeler using Brew package manager

install brew:
```
https://brew.sh
```

to install:
```
brew tap clubanderson/labeler
brew install labeler
```

to remove:
```
brew remove labeler
brew untap clubanderson/labeler
```

0 comments on commit b847a61

Please sign in to comment.