summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2020-07-27 07:26:46 +0800
committerSainnhepark2020-07-27 07:26:46 +0800
commitff5e79e89df6ce79e2f9106108774f81fb9d0d18 (patch)
tree16197e8284654d19c3786efc18d417b49ab6a64d
parentbecf12d070fdf61d509a295e1375f4f3f94e8d95 (diff)
downloadaur-ff5e79e89df6ce79e2f9106108774f81fb9d0d18.tar.gz
version format
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 98e72febe7c..9815931e3e8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = neovim-coc-git
pkgdesc = Intellisense engine for Vim8 & Neovim, full language server protocol support as VSCode
- pkgver = r514.140321e6
+ pkgver = v0.0.78.r106.g140321e6
pkgrel = 1
url = https://github.com/neoclide/coc.nvim
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index c8b072f17af..f98b92584e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Sainnhe Park <sainnhe@gmail.com>
pkgname=neovim-coc-git
-pkgver=r514.140321e6
+pkgver=v0.0.78.r106.g140321e6
pkgrel=1
pkgdesc='Intellisense engine for Vim8 & Neovim, full language server protocol support as VSCode'
arch=('any')
@@ -16,7 +16,7 @@ sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/coc.nvim"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {