Skip to content
Permalink
Browse files

kubectl: Use github portgroup and fix livecheck

  • Loading branch information
ryandesign committed Apr 9, 2018
1 parent 56005de commit 9fdb61560a415939a186760523b094182d4a5c26
Showing with 6 additions and 4 deletions.
  1. +6 −4 sysutils/kubectl/Portfile
@@ -1,9 +1,9 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup github 1.0

name kubectl
version 1.10.0
github.setup kubernetes kubectl 1.10.0
categories sysutils
platforms darwin
supported_archs x86_64
@@ -15,8 +15,6 @@ description kubernetes cluster cli
long_description Command line interface for running commands \
against Kubernetes clusters

homepage https://github.com/kubernetes/kubectl

master_sites https://storage.googleapis.com/kubernetes-release/release/v${version}/bin/darwin/amd64
distname kubectl
extract.suffix
@@ -34,3 +32,7 @@ build {
destroot {
xinstall ${distpath}/${distfiles} ${destroot}${prefix}/bin/kubectl
}

livecheck.type regex
livecheck.url https://storage.googleapis.com/kubernetes-release/release/stable.txt
livecheck.regex {^v([0-9.]+)$}

0 comments on commit 9fdb615

Please sign in to comment.
You can’t perform that action at this time.