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