diff --git a/Scripts/build_dmg.sh b/Scripts/build_dmg.sh index 11525aa..45bc857 100755 --- a/Scripts/build_dmg.sh +++ b/Scripts/build_dmg.sh @@ -4,7 +4,7 @@ name="PlayEm" app_name="${name}.app" plist_buddy_bin="/usr/libexec/PlistBuddy" -plist_path="${app_name}/Contents/Info.plist") +plist_path="${app_name}/Contents/Info.plist" version="v"$($plist_buddy_bin -c "Print :CFBundleShortVersionString" $plist_path) version="${version}."$($plist_buddy_bin -c "Print :CFBundleVersion" $plist_path)