buildLoadup Remove spaces from input Maiko release tag
This commit is contained in:
2
.github/workflows/buildLoadup.yml
vendored
2
.github/workflows/buildLoadup.yml
vendored
@@ -145,7 +145,7 @@ jobs:
|
||||
then
|
||||
tag=$(gh release list --repo ${{ github.repository_owner }}/maiko | grep Latest | head -n 1 | awk '{ print $3 }')
|
||||
else
|
||||
tag=${{ inputs.maiko_release }}
|
||||
tag=$(echo "${{ inputs.maiko_release }}" | sed 's/[[:space:]]//g')
|
||||
set +e
|
||||
gh release view ${tag} --repo ${{ github.repository_owner }}/maiko
|
||||
if [ $? -ne 0 ]; then echo "!!!!!!! Error: Cannot find Maiko release ${tag}. Exiting."; exit 1; fi
|
||||
|
||||
Reference in New Issue
Block a user