Skip to content

Commit

Permalink
ci: give exec permission to provider binaries (#2779)
Browse files Browse the repository at this point in the history
  • Loading branch information
elchead authored Dec 28, 2023
1 parent 903411e commit 539e6ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ jobs:
if [[ "${ext}" = "exe" ]]; then
cp "${file}" "${folder_name}/terraform-provider-constellation_v${version}.exe"
else
chmod 755 "${file}" # the upload artifact does not preserve file permissions (https://github.com/actions/upload-artifact/tree/main/?tab=readme-ov-file#permission-loss)
cp "${file}" "${folder_name}/terraform-provider-constellation_v${version}"
fi
(cd "${folder_name}" && zip "../${folder_name}.zip" ./*) # do not zip the folder itself
Expand Down

0 comments on commit 539e6ea

Please sign in to comment.