summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d52711c4e59..66be3fd5be7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kops-git
pkgdesc = Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management. (git version)
pkgver = 1.12.0.alpha.3.r0.g08aa9ac7f
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/kubernetes/kops
arch = x86_64
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index 8d6ec7b590e..227068840a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=kops-git
pkgver=1.12.0.alpha.3.r0.g08aa9ac7f
-pkgrel=1
+pkgrel=2
pkgdesc="Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management. (git version)"
arch=('x86_64')
url="https://github.com/kubernetes/kops"
@@ -20,7 +20,7 @@ prepare(){
}
pkgver() {
- cd $GOPATH/src/k8s.io/kops
+ cd $srcdir/src/k8s.io/kops
git describe --long --tags `git rev-list --tags --max-count=1` | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}