summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rodriguez2018-12-20 12:24:02 -0500
committerDavid Rodriguez2018-12-20 12:24:02 -0500
commitace87e8bbc4b0f77e9f07072f50d0d7cadf1de6c (patch)
tree70c692f6ee127d7153e498c94f185fe35b196e46
parent5446c4956245dc3dde287f9341dc4d2432643c55 (diff)
downloadaur-ace87e8bbc4b0f77e9f07072f50d0d7cadf1de6c.tar.gz
Use latest tag not 'most recent and reachable'
Rather than use the 'most recent, reachable tag from the current commit' we will now use the latest tag from rev-list.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 253f80dfa4a..6fdf5f8cc04 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.11.0.alpha.1.r283.ge15d7ee4b
- pkgrel = 2
+ pkgver = 1.11.0.beta.1.r0.g0c5a0a57d
+ pkgrel = 1
url = https://github.com/kubernetes/kops
arch = x86_64
license = Apache
@@ -10,7 +10,7 @@ pkgbase = kops-git
provides = kops
conflicts = kops
conflicts = kops-bin
- source = kops-git-1.11.0.alpha.1.r283.ge15d7ee4b::git+https://github.com/kubernetes/kops
+ source = kops-git-1.11.0.beta.1.r0.g0c5a0a57d::git+https://github.com/kubernetes/kops
md5sums = SKIP
pkgname = kops-git
diff --git a/PKGBUILD b/PKGBUILD
index ad77e3c59eb..9e43b56d489 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: David Rodriguez <dissonant.tech@gmail.com>
pkgname=kops-git
-pkgver=1.11.0.alpha.1.r283.ge15d7ee4b
-pkgrel=2
+pkgver=1.11.0.beta.1.r0.g0c5a0a57d
+pkgrel=1
pkgdesc="Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management. (git version)"
arch=('x86_64')
url="https://github.com/kubernetes/kops"
@@ -21,7 +21,7 @@ prepare(){
pkgver() {
cd $GOPATH/src/k8s.io/kops
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags `git rev-list --tags --max-count=1` | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {