create-dmg
Create a good-looking DMG for your macOS app in seconds
...This tool does everything for you, so you can play with your cat instead. The DMG detects the minimum runtime of the app, and uses ULFO (macOS 10.11 or later) or UDZO as appropriate. The resulting image has the filename App Name 0.0.0.dmg, for example, Lungo 1.0.0.dmg. It will try to code sign the DMG, but the DMG is still created and fine even if the code signing fails, for example if you don't have a developer certificate.