Skip to content

Commit

Permalink
fix: remove quotes around ZIP_FLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Nov 4, 2021
1 parent 945f7c8 commit c68b84a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ if [ -z "$INPUT_ARCHIVE" ]; then
cd "$DIR_TO_ZIP";
fi

zip "$INPUT_CUSTOM_ZIP_FLAGS" -r --quiet "$ZIP_FILENAME" . -x "@$EXCLUSION_FILE"
# shellcheck disable=SC2086
zip $INPUT_CUSTOM_ZIP_FLAGS -r --quiet "$ZIP_FILENAME" . -x "@$EXCLUSION_FILE"
if [ ! -f "$ZIP_FILENAME" ]; then
echo "::error::$ZIP_FILENAME was not generated properly (zip generation failed)."
exit 1;
Expand Down

0 comments on commit c68b84a

Please sign in to comment.