k3d v1.4.0 with k3s v1.0.1

Closes #48501.

Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>
This commit is contained in:
Thorsten Klein 2020-01-03 09:01:33 +01:00 committed by Alexander Bayandin
parent 415b445935
commit f59d6da929

View file

@ -1,8 +1,8 @@
class K3d < Formula class K3d < Formula
desc "Little helper to run Rancher Lab's k3s in Docker" desc "Little helper to run Rancher Lab's k3s in Docker"
homepage "https://github.com/rancher/k3d" homepage "https://github.com/rancher/k3d"
url "https://github.com/rancher/k3d/archive/v1.3.4.tar.gz" url "https://github.com/rancher/k3d/archive/v1.4.0.tar.gz"
sha256 "3d6c5d64795e4b459f236c391dd24e1ff08fcb2bf29e914509c8ddf8f699bfe7" sha256 "849942d0bc01318aae08bd6e56eaac8d738076065fb3d8e3f53bc2c024437e18"
bottle do bottle do
cellar :any_skip_relocation cellar :any_skip_relocation
@ -17,7 +17,7 @@ class K3d < Formula
def install def install
system "go", "build", \ system "go", "build", \
"-mod", "vendor", \ "-mod", "vendor", \
"-ldflags", "-s -w -X github.com/rancher/k3d/version.Version=v#{version} -X github.com/rancher/k3d/version.K3sVersion=v0.10.0", \ "-ldflags", "-s -w -X github.com/rancher/k3d/version.Version=v#{version} -X github.com/rancher/k3d/version.K3sVersion=v1.0.1", \
"-trimpath", "-o", bin/"k3d" "-trimpath", "-o", bin/"k3d"
prefix.install_metafiles prefix.install_metafiles
end end