makedeb
Vim-fork focused on extensibility and usability
Click here to go back to the commit logs for neovim-git.
Hash: f262d2b39833b2115c46ca174a3e9d80742acadc
Message: changed pkgver
diff --git a/.SRCINFO b/.SRCINFO
index 04edcff..ae1c6e7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb-makepkg
pkgbase = neovim-git
pkgdesc = Vim-fork focused on extensibility and usability
- pkgver = 187500.5.0.380.g6751d62542021.09.01
+ pkgver = 18750nightly2021.09.01
pkgrel = 1
url = https://neovim.io/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 24ed55f..a1c6f8a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname=neovim-git
_pkgname=neovim
-pkgver=187500.5.0.380.g6751d62542021.09.01
+pkgver=18750nightly2021.09.01
pkgrel=1
pkgdesc="Vim-fork focused on extensibility and usability"
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
@@ -24,7 +24,7 @@ options=(!strip)
pkgver() {
cd "${srcdir}/${_pkgname}"
- _tag=$(git describe | sed -e 's:-:.:g' -e 's:v::') # tag is mobile, and switches between numbers and letters, can't use it for versioning
+ _tag=$(git describe --tags | sed -e 's:-:.:g' -e 's:v::') # tag is mobile, and switches between numbers and letters, can't use it for versioning
_commits=$(git rev-list --count HEAD | sed 's:-:.:g') # total commits is the most sane way of getting incremental pkgver
_date=$(git log -1 --date=short --pretty=format:%cd)
printf "%s%s%s\n" "${_commits}" "${_tag}" "${_date}" | sed -e 's:-:.:g' -e 's:_:.:g'