-
-
Notifications
You must be signed in to change notification settings - Fork 289
HowToRelease
Johan Haleby edited this page Feb 24, 2017
·
20 revisions
-
Create a release using github-release, for example:
$ GITHUB_TOKEN=<github release token> github-release release --user johanhaleby --repo kubetail --tag 1.1.0 --name "Kubetail 1.1.0" --description "Next minor version"
-
Update the kubetail.rb (see also How to Create and Maintain a Tap)
-
Point to the latest released version
-
To generate a sha do:
bash $ wget https://github.com/johanhaleby/kubetail/archive/1.1.0.tar.gz $ shasum -a 256 1.1.0.tar.gz
kubetail
is probably not eligable for a full brew release. But if this happens one should follow the 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