From 903411edae146d18c9c8b9268f376b1225e7c4d8 Mon Sep 17 00:00:00 2001 From: Adrian Stobbe Date: Wed, 27 Dec 2023 17:43:57 +0100 Subject: [PATCH] fix Terraform release zipping (#2778) --- .github/workflows/draft-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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