mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
Fix bug 65946 - Fix macos dmg filename (#1129)
This commit is contained in:
@ -42,6 +42,10 @@ platform :mac do
|
||||
path: "ONLYOFFICE/Resources/#{scheme}/Info.plist",
|
||||
key: "CFBundleVersion"
|
||||
)
|
||||
app_build_number = get_info_plist_value(
|
||||
path: "ONLYOFFICE/Resources/#{scheme}/Info.plist",
|
||||
key: "ASCBundleBuildNumber"
|
||||
)
|
||||
|
||||
desc 'Build for developer id and notarize'
|
||||
gym(
|
||||
@ -66,7 +70,7 @@ platform :mac do
|
||||
|
||||
desc 'Create DMG image'
|
||||
sh("npm install appdmg")
|
||||
sh("npx appdmg resources/appdmg.json ../#{build}/#{scheme}-#{version_number}.dmg")
|
||||
sh("npx appdmg resources/appdmg.json ../#{build}/#{scheme}-#{version_number}-#{app_build_number}.dmg")
|
||||
|
||||
if options[:skip_git_bump]
|
||||
next
|
||||
|
||||
Reference in New Issue
Block a user