publish-image.yml: Fix condition for publishing images

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler 2023-04-16 04:02:48 +02:00
parent f983acd341
commit 5a732c89a6
No known key found for this signature in database
GPG Key ID: 3510056072886A8F

View File

@ -92,9 +92,9 @@ jobs:
done
[[ "$success" == "true" ]] || {
gh release upload "${VERSION?}" "${asset}"
echo "Updating release description failed."
exit 1
}
gh release upload "${VERSION?}" "${asset}"
echo "Image published successfully."