-
-
Notifications
You must be signed in to change notification settings - Fork 289
HowToRelease
Johan Haleby edited this page Aug 17, 2019
·
20 revisions
-
Update the version in the kubetail file and remove the
-SNAPSHOT
. -
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 "Kubetail 1.1.0"
-
Update the kubetail.rb at the homebrew-kubetail project (see also How to Create and Maintain a Tap)
- Point to the latest released version
- To generate a sha do:
$ curl https://github.com/johanhaleby/kubetail/archive/1.1.0.tar.gz -fsSL | shasum -a 256
-
Update the version number in the kubetail again but this time add the
-SNAPSHOT
.
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