fix Terraform release zipping (#2778)

This commit is contained in:
Adrian Stobbe 2023-12-27 17:43:57 +01:00 committed by GitHub
parent 2f10223682
commit 903411edae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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