untested. but this should work quite nicely
This commit is contained in:
4
_docs/PKGBUILD.templates.d/vcs/04.vcsver.hg
Normal file
4
_docs/PKGBUILD.templates.d/vcs/04.vcsver.hg
Normal file
@@ -0,0 +1,4 @@
|
||||
pkgver() {
|
||||
cd "${pkgname}"
|
||||
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
|
||||
}
|
||||
Reference in New Issue
Block a user