Compare commits

..

11 Commits

Author SHA1 Message Date
Automatic Release Builder
88cc7822b6 new version: 2018.3.6 2020-08-06 16:04:28 +01:00
Automatic Release Builder
f96972a083 Set submodule revision for 2018.3.6 2020-08-06 16:03:19 +01:00
Automatic Release Builder
8e6a83896b Submodule update 2020-08-06 15:59:04 +01:00
Automatic Release Builder
a9fca6bb2b Update submodule revisions 2020-08-03 14:30:29 +01:00
Automatic Release Builder
12fce0f5e9 new version: 2018.3.5 2020-04-02 08:41:52 +01:00
James Turner
08633dad45 2018.3.5 release commits 2020-04-02 08:41:35 +01:00
James Turner
c0af026d3c Update FG & SG versions to pick up some fixes 2020-03-22 11:06:19 +00:00
James Turner
7e14b07a6b macOS: code-signing changes 2020-03-20 09:35:03 +00:00
James Turner
5d5e58e3b9 Update 2018.3 branch tags 2019-11-12 15:16:10 +00:00
James Turner
4e073285d9 Notarization support in macOS packaging scripts 2019-11-12 15:16:01 +00:00
James Turner
4adf49587b New version: 2018.3.4 2019-08-07 10:02:47 +01:00
6 changed files with 34 additions and 13 deletions

2
fgdata

Submodule fgdata updated: b7ac11267c...87133520e7

View File

@@ -31,6 +31,8 @@ $osgSoVersion=runOsgVersion('so-number')
$openThreadsSoVersion=runOsgVersion('openthreads-soversion-number')
$codeSignIdentity = ENV['FG_CODESIGN_IDENTITY']
$keychain = ENV['FG_KEYCHAIN']
puts "Code signing identity is #{$codeSignIdentity}"
puts "osgVersion=#{osgVersion}, so-number=#{$osgSoVersion}"
@@ -54,11 +56,10 @@ bundle=dmgDir + "/FlightGear.app"
puts "Running macdeployqt on the bundle to copy Qt libraries"
`macdeployqt #{$prefixDir}/fgfs.app -qmldir=#{qmlDir}`
puts "Moving & renaming app bundle"
puts "Copying & renaming app bundle"
`mkdir -p #{dmgDir}`
`mv #{$prefixDir}/fgfs.app #{bundle}`
`rsync --archive --quiet #{$prefixDir}/fgfs.app/ #{bundle}`
bundle=dmgDir + "/FlightGear.app"
contents=bundle + "/Contents"
macosDir=contents + "/MacOS"
$frameworksDir=contents +"/Frameworks"
@@ -135,27 +136,47 @@ File.open("#{contents}/Info.plist", 'w') { |f|
createArgs = "-format UDBZ -imagekey bzip2-level=9 -quiet -volname #{volName}"
# enable the hardened runtime and timestamp options, so notarization works
codeSignArgs = "--deep --options=runtime --timestamp"
if !$isRelease
# create the 'lite' DMG without the base files
# code sign the entire bundle once complete - v2 code-signing
puts "Signing #{bundle}"
`codesign --deep -s "#{$codeSignIdentity}" #{bundle}`
puts "Creating DMG"
`codesign #{codeSignArgs} --keychain #{$keychain} -s "#{$codeSignIdentity}" #{bundle}`
puts "Creating DMG without base-files"
`rm -f #{dmgPath}`
`hdiutil create -srcfolder #{dmgDir} #{createArgs} #{dmgPath}`
puts "Notarizing DMG #{dmgPath}"
`xcrun altool --notarize-app \
--primary-bundle-id "org.flightgear.mac" \
--username "zakalawe@mac.com" \
--password "@keychain:FlightGearAppStoreConnectUserName" \
--file #{dmgPath}`
end
puts "Creating full image with data"
puts "Copying base package files into the image"
`rsync -a fgdata/ #{resourcesDir}/data`
# re-sign the entire bundle
puts "Re-signing full #{bundle}"
`codesign --force --deep -s "#{$codeSignIdentity}" #{bundle}`
puts "Re-signing full app: #{bundle}"
`codesign --force #{codeSignArgs} --keychain #{$keychain} -s "#{$codeSignIdentity}" #{bundle}`
`rm -f #{dmgFullPath}`
`hdiutil create -srcfolder #{dmgDir} #{createArgs} #{dmgFullPath}`
puts "Notarizing DMG #{dmgFullPath}"
`xcrun altool --notarize-app \
--primary-bundle-id "org.flightgear.mac" \
--username "zakalawe@mac.com" \
--password "@keychain:FlightGearAppStoreConnectUserName" \
--file #{dmgFullPath}`
puts "Packaging complete"

Submodule simgear updated: 9a8c10cb0b...8dec1cb38c

View File

@@ -1 +1 @@
2018.3.2
2018.3.6