makedeb
Vim-fork focused on extensibility and usability
Click here to go back to the commit logs for neovim-git.
Hash: a2a6a09ac2eac81a7aa9ea0367db3f239f0b8e89
Message: fixed pkgver
diff --git a/PKGBUILD b/PKGBUILD
index 1d2c1f6..7395f3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,7 +27,7 @@ pkgver() {
_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" "${_tag}" "${_commits}" "${_date}" | sed -e 's:-:.:g' -e 's:_:.:g'
+ printf "%s%s%s\n" "${_commits}" "${_tag}" "${_date}" | sed -e 's:-:.:g' -e 's:_:.:g'
}
package() {