diff --git a/CHANGELOG.md b/CHANGELOG.md index dd060678..542efb56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ _Unreleased_ - Update checking is now on by default after being disabled in `v0.24.2` - Daemon will now check for updates on startup along with every day at 6am - Torus is now compiled using go1.9.1 +- Torus now supports installation from brew via a bottle on Mac OS X High Sierra ## v0.24.2 diff --git a/Makefile b/Makefile index c78e3a63..d431ec79 100644 --- a/Makefile +++ b/Makefile @@ -305,7 +305,7 @@ builds/torus-$(VERSION).sierra.bottle.tar.gz: binary-darwin-amd64 builds/bottle/ release-homebrew: envcheck tagcheck release-homebrew-bottle release-homebrew-$(RELEASE_ENV) -BOTTLE_VERSIONS=$(foreach release,sierra el_capitan yosemite,builds/dist/brew/bottles/torus-$(VERSION).$(release).bottle.tar.gz) +BOTTLE_VERSIONS=$(foreach release,high_sierra sierra el_capitan yosemite,builds/dist/brew/bottles/torus-$(VERSION).$(release).bottle.tar.gz) $(BOTTLE_VERSIONS): builds/torus-$(VERSION).sierra.bottle.tar.gz builds/dist/brew/bottles cp $< $@ diff --git a/packaging/homebrew/torus.rb.in b/packaging/homebrew/torus.rb.in index bb383e59..8cfbca14 100644 --- a/packaging/homebrew/torus.rb.in +++ b/packaging/homebrew/torus.rb.in @@ -6,6 +6,7 @@ class Torus < Formula url "https://github.com/manifoldco/torus-cli/archive/v{{VERSION}}.tar.gz" sha256 "{{SHA256}}" head "https://github.com/manifoldco/torus-cli.git" + getting_started_url "https://www.torus.sh/docs/latest/start-here/quickstart" depends_on "glide" => :build depends_on "go" => :build @@ -13,6 +14,7 @@ class Torus < Formula bottle do root_url "{{BOTTLE_URL}}" cellar :any_skip_relocation + sha256 "{{BOTTLE_SHA256}}" => :high_sierra sha256 "{{BOTTLE_SHA256}}" => :sierra sha256 "{{BOTTLE_SHA256}}" => :el_capitan sha256 "{{BOTTLE_SHA256}}" => :yosemite @@ -44,5 +46,7 @@ class Torus < Formula bin.install "builds/bin/{{VERSION}}/darwin/#{arch}/torus" end + + ohai "Learn how to get started with Torus at #{getting_started_url}!" end end