'How to create custom brew bottle

I have a go application that I would like to distribute for a few developers. Is it possible with "bottles & taps"?

I have tried:

brew tap-new <name of tap>

This gives me a local repository:

Initialized empty Git repository in <local path>

I possible what to do then, I can't find any documentation for custom bottle?



Solution 1:[1]

It's vaguely documented right over here; your formula would probably define

bottle do
  root_url "https://my-internal-server/"
  sha256 "..." => :sierra
  sha256 "..." => :el_capitan
  sha256 "..." => :yosemite
end

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 AKX