Skip to content

Commit 6abc30a

Browse files
committed
Fix uploading to WoWI with a manual changelog causing the build to fail
1 parent f733768 commit 6abc30a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

release.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -2388,7 +2388,9 @@ if [ -z "$skip_zipfile" ]; then
23882388
case $result in
23892389
202)
23902390
echo "Success!"
2391-
[ -f "$wowi_changelog" ] && rm -f "$wowi_changelog" 2>/dev/null
2391+
if [ -f "$wowi_changelog" ]; then
2392+
rm -f "$wowi_changelog" 2>/dev/null
2393+
fi
23922394
;;
23932395
401)
23942396
echo "Error! No addon for id \"$addonid\" found or you do not have permission to upload files."

0 commit comments

Comments
 (0)