From 188e57bc74d529424eac46afb77d2348621a5906 Mon Sep 17 00:00:00 2001 From: core Date: Tue, 27 Jun 2023 09:11:26 -0400 Subject: [PATCH] fix pkgver calculation --- .builds/void.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.builds/void.yml b/.builds/void.yml index 4ddf112..6407636 100644 --- a/.builds/void.yml +++ b/.builds/void.yml @@ -16,17 +16,17 @@ tasks: cd /home/build/trifid describe=$(git describe) - if [[ $describe == tfclient* ]]; then - project=tfclient - fi if [[ $describe == tfcli* ]]; then project=tfcli fi + if [[ $describe == tfclient* ]]; then + project=tfclient + fi if [[ $describe == trifid-api* ]]; then project=trifid-api fi - pkgver=$(git describe | sed -e 's/$project-v//g' | sed -e 's/-/_/g') + pkgver=$(git describe | sed -e "s/$project-v//g" | sed -e 's/-/_/g') echo "project=$project" >> ~/.buildenv echo "pkgver=$pkgver" >> ~/.buildenv