openshift-cli 1.5.0

Closes #12835.

Signed-off-by: JCount <JCount42@gmail.com>
This commit is contained in:
Giles Dring 2017-04-24 17:08:00 +01:00 committed by JCount
parent 775e670684
commit 2fcff8b8b5

View file

@ -2,8 +2,8 @@ class OpenshiftCli < Formula
desc "OpenShift command-line interface tools" desc "OpenShift command-line interface tools"
homepage "https://www.openshift.com/" homepage "https://www.openshift.com/"
url "https://github.com/openshift/origin.git", url "https://github.com/openshift/origin.git",
:tag => "v1.4.1", :tag => "v1.5.0",
:revision => "3f9807ab8282e1af64128834b246c41ce50172d4" :revision => "031cbe45b7da52e19f0c0fae235776b38024517f"
head "https://github.com/openshift/origin.git" head "https://github.com/openshift/origin.git"
@ -16,9 +16,9 @@ class OpenshiftCli < Formula
devel do devel do
url "https://github.com/openshift/origin.git", url "https://github.com/openshift/origin.git",
:tag => "v1.5.0-alpha.2", :tag => "v3.6.0-alpha.1",
:revision => "e4b43ee6f35d3dd8b2cbd7e92bc8a9225fa94653" :revision => "46942adea0aed0ff58965f846aa5d5021ce30e50"
version "1.5.0-alpha.2" version "3.6.0-alpha.1"
end end
depends_on "go" => :build depends_on "go" => :build
@ -39,6 +39,10 @@ class OpenshiftCli < Formula
test do test do
assert_match /^oc v#{version}/, shell_output("#{bin}/oc version") assert_match /^oc v#{version}/, shell_output("#{bin}/oc version")
assert_match /^oadm v#{version}/, shell_output("#{bin}/oadm version") if version >= "3.6.0-alpha.0"
assert_match /^oc v#{version}/, shell_output("#{bin}/oadm version")
else
assert_match /^oadm v#{version}/, shell_output("#{bin}/oadm version")
end
end end
end end