Browse Source

mac build: compare_dmg script: if binaries mismatch, print the diff

patch-4
SomberNight 3 years ago
parent
commit
ecf4e3db48
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      contrib/osx/compare_dmg

2
contrib/osx/compare_dmg

@ -48,7 +48,9 @@ QUIET="1" "$CONTRIB_OSX/apply_sigs.sh" "$DMG_UNSIGNED_UNPACKED"/Electrum.app mac
rm mac_extracted_sigs.tar.gz
rm -rf "$DMG_UNSIGNED_UNPACKED"
set -x
diff=$(diff -qr "$WORKSPACE/signed_app" "$DMG_RELEASE_UNPACKED") || diff="diff errored"
set +x
echo $diff
if [ "$diff" ]; then
echo "DMGs do *not* match."

Loading…
Cancel
Save