sigrok-native-macosx: Change DMG name to PulseView-NIGHTLY.dmg.
authorUwe Hermann <uwe@hermann-uwe.de>
Mon, 29 Oct 2018 12:09:50 +0000 (13:09 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Mon, 29 Oct 2018 12:09:50 +0000 (13:09 +0100)
This is more consistent with the binary builds for other OSes.

cross-compile/macosx/create_dmg

index f4b36b71c2f5fb871d37aef5c62030feee32882a..734852830a4980c94d48487376310475e662d694 100755 (executable)
@@ -51,7 +51,7 @@ cd $BUILDDIR
 
 APPNAME="PulseView"
 APPNAME_BINARY="pulseview"
 
 APPNAME="PulseView"
 APPNAME_BINARY="pulseview"
-APPVER="nightly"
+APPVER="NIGHTLY"
 
 CONTENTSDIR="$APPNAME.app/Contents"
 MACOSDIR="$CONTENTSDIR/MacOS"
 
 CONTENTSDIR="$APPNAME.app/Contents"
 MACOSDIR="$CONTENTSDIR/MacOS"
@@ -107,5 +107,5 @@ chmod 755 $MACOSDIR/$APPNAME_BINARY
 cp ../contrib/Info.plist $CONTENTSDIR
 cp ../contrib/pulseview.icns $CONTENTSDIR/Resources
 
 cp ../contrib/Info.plist $CONTENTSDIR
 cp ../contrib/pulseview.icns $CONTENTSDIR/Resources
 
-hdiutil create "${APPNAME}_${APPVER}.dmg" -volname "$APPNAME $APPVER" \
+hdiutil create "${APPNAME}-${APPVER}.dmg" -volname "$APPNAME $APPVER" \
        -fs HFS+ -srcfolder "$APPNAME.app"
        -fs HFS+ -srcfolder "$APPNAME.app"