Code-sign using the identity from the environment.
This commit is contained in:
parent
0a40a36041
commit
41356c1aba
1 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,9 @@ osgVersion = runOsgVersion('version-number')
|
|||
$osgSoVersion=runOsgVersion('so-number')
|
||||
$openThreadsSoVersion=runOsgVersion('openthreads-soversion-number')
|
||||
|
||||
$codeSignIdentity = ENV['FG_CODESIGN_IDENTITY']
|
||||
puts "Code signing identity is #{$codeSignIdentity}"
|
||||
|
||||
puts "osgVersion=#{osgVersion}, so-number=#{$osgSoVersion}"
|
||||
|
||||
$alutSourcePath='/Library/Frameworks/ALUT.framework'
|
||||
|
@ -69,7 +72,7 @@ end
|
|||
|
||||
def code_sign(path)
|
||||
puts "Signing #{path}"
|
||||
`codesign -s "Mac Developer: James Turner (3JTY4GZGL8)" #{path}`
|
||||
`codesign -s "#{$codeSignIdentity}" #{path}`
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue