summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkaash Suresh2020-02-04 09:08:02 -0600
committerAkaash Suresh2020-02-04 09:08:02 -0600
commit459c14f8646529115dfa13a23ef7b1fda628392a (patch)
tree3648471cbdc3be847b848a90c1d35506e97aa22e
parent275c34d365f9cc1560ce833736ccef0624db99ac (diff)
downloadaur-459c14f8646529115dfa13a23ef7b1fda628392a.tar.gz
Versioning based on tags
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fa1f89f2d3bc..6ddb9819c4f5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = qmk-git
pkgdesc = CLI tool for customizing supported mechanical keyboards.
- pkgver = 0.0.26
- pkgrel = 3
+ pkgver = 0.0.27.r0.g1a723e4
+ pkgrel = 1
url = https://github.com/qmk/qmk_cli
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 2e803e860135..402f1c2913ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Akaash Suresh <https://github.com/Curry>
pkgname=qmk-git
-pkgver=0.0.26
-pkgrel=3
+pkgver=0.0.27.r0.g1a723e4
+pkgrel=1
pkgdesc="CLI tool for customizing supported mechanical keyboards."
arch=('any')
url="https://github.com/qmk/qmk_cli"
@@ -36,8 +36,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$_branch"
- echo $(git describe --tags)
-
+ echo $(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
}
build() {