diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 2a02c98157..8dd8870e64 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -464,7 +464,7 @@ jobs: else cp "${file}" "${folder_name}/terraform-provider-constellation_v${version}" fi - zip -r "${folder_name}.zip" "${folder_name}" + (cd "${folder_name}" && zip "../${folder_name}.zip" ./*) # do not zip the folder itself rm -r "${folder_name}" done