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"