Skip to content
Johan Haleby edited this page Feb 24, 2017 · 20 revisions

Homebrew

  1. Create a release using github-release, for example: $ GITHUB_TOKEN= github-release release --user johanhaleby --repo kubetail --tag 1.1.0 --name "Kubetail 1.1.0" --description "Next minor version"
  2. Following instructions here and use this forumla template:
require 'formula'

class MyBashScripts < Formula
  homepage 'http://example.com'
  head 'https://github.com/user/my-bash-scripts.git'

  def install
    bin.install 'script1', 'script2', 'script3'
  end
end

for example:

class Kubetail < Formula
  desc "Tail logs from multiple Kubernetes pods at the same time"
  homepage "https://github.com/johanhaleby/kubetail"
  url "https://github.com/johanhaleby/kubetail/archive/1.0.0.tar.gz"
  sha256 "651da64bc3b57c2a9d37dbc4af7e28ddb7903eb3b8965e5efeef0ab6cc97f3e8"

  def install
    bin.install "kubetail"
  end

  test do
  end
end
Clone this wiki locally