From 138ea1916cf66d660aa2cc8259e977c16445d049 Mon Sep 17 00:00:00 2001 From: Adrian Stobbe Date: Wed, 27 Dec 2023 16:34:06 +0100 Subject: [PATCH] fix tf release zipping --- .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