diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb367c19..b350b1f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,6 +86,9 @@ jobs: - name: Re-package binary and update checksum # Repackage the signed binary replaced in place by Gon (ignoring the output zip file) run: | + # GitHub's upload/download-artifact@v2 actions don't preserve file permissions, + # so we need to add execution permission back. + chmod +x dist/macos64/FirmwareUploader TAG=${GITHUB_REF/refs\/tags\//} tar cjf dist/FirmwareUploader_${TAG}_macOS_64bit.tar.bz2 \ firmwares \