From 93f0d89d6a7aa5125f6db1b2abf107c5c8317caf Mon Sep 17 00:00:00 2001 From: wuyaos Date: Thu, 16 Mar 2023 09:35:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto_gen_whl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_gen_whl.yml b/.github/workflows/auto_gen_whl.yml index 09d540e..acc19a1 100644 --- a/.github/workflows/auto_gen_whl.yml +++ b/.github/workflows/auto_gen_whl.yml @@ -27,7 +27,7 @@ jobs: id: release_version run: | cd src - app_version=$(cat setup.py | grep version | sed "s/version='\([0-9]\+\.[0-9]\+\.[0-9]\+\)',/\1/") + app_version=$(cat setup.py | grep version | sed "s/version='\([0-9]\+\.[0-9]\+\.[0-9]\+\)',/\1/" | sed s/[[:space:]]//g) echo "app_version=$app_version" >> $GITHUB_ENV echo "app_version=$app_version"