From 6abc30a4499033a2411a12d76bc2b5b79fc4276b Mon Sep 17 00:00:00 2001 From: Kyle Buller Date: Sun, 9 May 2021 20:06:42 -0500 Subject: [PATCH] Fix uploading to WoWI with a manual changelog causing the build to fail --- release.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 59a2402..9a6f2ab 100755 --- a/release.sh +++ b/release.sh @@ -2388,7 +2388,9 @@ if [ -z "$skip_zipfile" ]; then case $result in 202) echo "Success!" - [ -f "$wowi_changelog" ] && rm -f "$wowi_changelog" 2>/dev/null + if [ -f "$wowi_changelog" ]; then + rm -f "$wowi_changelog" 2>/dev/null + fi ;; 401) echo "Error! No addon for id \"$addonid\" found or you do not have permission to upload files."