summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6d4239c5c63a..4922d30eaa12 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = kotlin-language-server-git
pkgdesc = Smart code completion, diagnostics and more for Kotlin using the Language Server Protocol
- pkgver = 0.1.13.r458.125b3fd
+ pkgver = r576.e6f7637
pkgrel = 1
url = https://github.com/fwcd/KotlinLanguageServer.git
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index b8fc3dbb44c2..17217ddb123d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=kotlin-language-server-git
_pkgname=kotlin-language-server
-pkgver=0.1.13.r458.125b3fd
+pkgver=r576.e6f7637
pkgrel=1
pkgdesc="Smart code completion, diagnostics and more for Kotlin using the Language Server Protocol"
arch=(any)
@@ -17,8 +17,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
- printf "%s.r%s.%s" \
- "$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json)" \
+ printf "r%s.%s" \
"$(git rev-list --count HEAD)" \
"$(git rev-parse --short HEAD)"
}