Skip to content

Commit

Permalink
Updated mac codesign steps to notarize app (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-ryan-k authored May 31, 2022
1 parent 6eeaf92 commit 076a775
Showing 1 changed file with 24 additions and 22 deletions.
46 changes: 24 additions & 22 deletions pipelines/release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ stages:
{
"KeyCode" : "CP-401337-Apple",
"OperationCode" : "MacAppDeveloperSign",
"Parameters" : {},
"Parameters" : {
"Hardening": "--options=runtime"
},
"ToolName" : "sign",
"ToolVersion" : "1.0"
}
Expand All @@ -247,27 +249,27 @@ stages:
MaxRetryAttempts: '5'
VerboseLogin: false

# - task: EsrpCodeSigning@1
# displayName: 'Sign MacOS DMG - Notarized'
# inputs:
# ConnectedServiceName: 'Azure IoT Explorer CodeSign'
# FolderPath: '$(Pipeline.Workspace)'
# Pattern: '*.dmg'
# signConfigType: 'inlineSignParams'
# inlineOperation: |
# [
# {
# "KeyCode" : "CP-401337-Apple",
# "OperationCode" : "MacAppNotarize",
# "Parameters" : {"BundleId":"com.microsoft.Azure.IoTExplorer"},
# "ToolName" : "sign",
# "ToolVersion" : "1.0"
# }
# ]
# SessionTimeout: '60'
# MaxConcurrency: '50'
# MaxRetryAttempts: '5'
# VerboseLogin: false
- task: EsrpCodeSigning@1
displayName: 'Sign MacOS DMG - Notarized'
inputs:
ConnectedServiceName: 'Azure IoT Explorer CodeSign'
FolderPath: '$(Pipeline.Workspace)'
Pattern: '*.dmg'
signConfigType: 'inlineSignParams'
inlineOperation: |
[
{
"KeyCode" : "CP-401337-Apple",
"OperationCode" : "MacAppNotarize",
"Parameters" : {"BundleId":"com.microsoft.Azure.IoTExplorer"},
"ToolName" : "sign",
"ToolVersion" : "1.0"
}
]
SessionTimeout: '60'
MaxConcurrency: '50'
MaxRetryAttempts: '5'
VerboseLogin: false

- task: CopyFiles@2
displayName: 'ArtifactIgnore'
Expand Down

0 comments on commit 076a775

Please sign in to comment.