Add version to clusterctl binary when downloading
This commit is contained in:
parent
741a52b0f4
commit
58821e5f49
2 changed files with 4 additions and 4 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -6,8 +6,8 @@ pkgbase = clusterctl-bin
|
|||
arch = x86_64
|
||||
license = Apache
|
||||
optdepends = kubectl: to manage the cluster
|
||||
provides = clusterctl=0.3.16
|
||||
source = https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.16/clusterctl-linux-amd64
|
||||
provides = clusterctl
|
||||
source = clusterctl-linux-amd64-v0.3.16::https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.16/clusterctl-linux-amd64
|
||||
sha256sums = ae45da8b66a0c8150b91edf88015ff45eb7d21e48f95f006dddd366add6c8441
|
||||
|
||||
pkgname = clusterctl-bin
|
||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -9,10 +9,10 @@ url="https://cluster-api.sigs.k8s.io/"
|
|||
license=('Apache')
|
||||
optdepends=('kubectl: to manage the cluster')
|
||||
provides=('clusterctl')
|
||||
source=("https://github.com/kubernetes-sigs/cluster-api/releases/download/v$pkgver/clusterctl-linux-amd64")
|
||||
source=("clusterctl-linux-amd64-v$pkgver::https://github.com/kubernetes-sigs/cluster-api/releases/download/v$pkgver/clusterctl-linux-amd64")
|
||||
sha256sums=('ae45da8b66a0c8150b91edf88015ff45eb7d21e48f95f006dddd366add6c8441')
|
||||
|
||||
package() {
|
||||
install -Dm 755 "$srcdir/clusterctl-linux-amd64" "$pkgdir/usr/bin/clusterctl"
|
||||
install -Dm 755 "$srcdir/clusterctl-linux-amd64-v$pkgver" "$pkgdir/usr/bin/clusterctl"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue