From 46ef58e929a9788f5a408b2506e26feef47c5572 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Tue, 11 Jun 2024 00:59:43 +0800 Subject: [PATCH] ci: fix pre-release --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44bb9aa63b9b..959f68b57b51 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -261,9 +261,9 @@ jobs: for tabby in tabby_*/tabby_*; do llamab=$(basename $llama_server) tabbyb=$(basename $tabby) - extname=${tabby##*.} - if [[ -n "${extname}" ]] - exname=.${extname} + extname=${tabbyb##*.} + if [[ -n "${extname}" ]]; then + extname=.${extname} fi llaman=${llamab%.*}