macOS: Disable LDID fake signing for arm64

It doesn't work and makes it impossible to sign binaries properly
without using --force.
This commit is contained in:
Rémi Verschelde
2021-03-24 12:07:27 +01:00
parent e0d7b61e0e
commit 78d64f285a
2 changed files with 4 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ if [ "${skip_git_checkout}" == 0 ]; then
# Validate version
correct_version=$(python3 << EOF
import version;
if hasattr(version, "patch"):
if hasattr(version, "patch") and version.patch != 0:
git_version = f"{version.major}.{version.minor}.{version.patch}-{version.status}"
else:
git_version = f"{version.major}.{version.minor}-{version.status}"