Skip to content

Commit

Permalink
wip: skip signing executable .sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Apr 10, 2024
1 parent d994b01 commit 69c061a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/ci/sign-new-macos-releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ echo "::group::Unpack .zip and sign the binaries"
mkdir -p "${WORK_DIR}/tmp/${DIST_NAME}_${DIST_VERSION}_${arch}-signed/${DIST_NAME}"
# find executable files, and process each one
find "${WORK_DIR}/tmp/${DIST_NAME}_${DIST_VERSION}_${arch}-unsigned" -perm +111 -type f -print | while read -r file; do
# -perm +111 will return all executables, including .sh scripts
# so we need to skip them
if [[ "$file" == *.sh ]]; then
echo "-- Skipping ${file}"
continue
fi

echo "-> Processing ${file}"
ls -hl "${file}"

Expand Down

0 comments on commit 69c061a

Please sign in to comment.