Skip to content

Commit a522967

Browse files
committed
add recursive option in zip
1 parent 5b97e43 commit a522967

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hooks/post-command

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if [[ -n "${BUILDKITE_PLUGIN_ARTIFACTS_COMPRESSED:-}" ]]; then
5555
COMPRESSED="true"
5656

5757
if [[ "${BUILDKITE_PLUGIN_ARTIFACTS_COMPRESSED}" =~ .*\.zip ]]; then
58-
compress+=("zip" "${BUILDKITE_PLUGIN_ARTIFACTS_COMPRESSED}")
58+
compress+=("zip" "-r" "${BUILDKITE_PLUGIN_ARTIFACTS_COMPRESSED}")
5959
elif [[ "${BUILDKITE_PLUGIN_ARTIFACTS_COMPRESSED}" =~ .*\.tgz ]]; then
6060
compress+=("tar" "czf" "${BUILDKITE_PLUGIN_ARTIFACTS_COMPRESSED}")
6161
else

0 commit comments

Comments
 (0)