summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRiey2021-02-02 04:31:18 +0900
committerRiey2021-02-02 04:31:18 +0900
commit22f3167f82f31873f1cc50e62db2f3d40b822af8 (patch)
treeab6f4d514452af31426807f71d2e130068a7e443
parentec747691739a4a4ecad51c19d6274afde1dcdbce (diff)
downloadaur-22f3167f82f31873f1cc50e62db2f3d40b822af8.tar.gz
1.0.0-pre1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c8467fd47942..8ffc52968327 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = kime-git
pkgdesc = Korean IME
- pkgver = 0.9.1.r15.546e97a
+ pkgver = 0.9.1.r30.aa351a2
pkgrel = 1
url = https://github.com/Riey/kime
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index d38f2df1b583..ade7782b3a34 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: riey <creeper844@gmail.com>
pkgname=kime-git
-pkgver=0.9.1.r15.546e97a
+pkgver=0.9.1.r30.aa351a2
pkgrel=1
pkgdesc="Korean IME"
url="https://github.com/Riey/kime"
@@ -15,7 +15,7 @@ sha512sums=('SKIP')
pkgver() {
cd "${pkgname}"
- local tag=$(git tag --sort=v:refname | grep '^v[0-9]' | tail -1)
+ local tag=$(git tag --sort=v:refname | grep '^v[0-9]\+.[0-9]\+.[0-9]\+$' | tail -1)
local commits_since=$(git rev-list $tag..HEAD --count)
echo "$(echo $tag | cut -b2-).r$commits_since.$(git log --pretty=format:'%h' -n 1)"
}