From 851750918f611ee7a1b6557bd0a6da7839ee682e Mon Sep 17 00:00:00 2001 From: actionless Date: Mon, 2 Jan 2023 00:06:34 +0100 Subject: [PATCH] chore(pkgbuild): don't use --long option --- packaging/arch/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD index 784b60f..d5d428c 100644 --- a/packaging/arch/PKGBUILD +++ b/packaging/arch/PKGBUILD @@ -41,7 +41,7 @@ conflicts=( pkgver() { cd "${srcdir}/${_reponame}" - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --always --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() {