Skip to content

Commit

Permalink
Work CI-CD
Browse files Browse the repository at this point in the history
- Fix syntax on multiple line command.
- Fix task name.

***NO_CI***
  • Loading branch information
josesimoes committed Dec 7, 2023
1 parent 95b8190 commit 02e0d18
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ jobs:
configuration: 'Release'

- task: DotNetCoreCLI@2
displayName: Install SignTool tool
displayName: Install Sign Client CLI
condition: >-
and(
succeeded(),
Expand All @@ -861,12 +861,12 @@ jobs:
--file-list "$(Build.Repository.LocalPath)\config\filelist.txt" `
--publisher-name ".NET nanoFramework" `
--description "nanoFramework.nanoCLR" `
--description-url "https://github.com/$env:Build_Repository_Name"
--azure-key-vault-tenant-id "$(SignTenantId)"
--azure-key-vault-client-id "$(SignClientId)"
--azure-key-vault-client-secret "$(SignClientSecret)"
--azure-key-vault-certificate "$(SignKeyVaultCertificate)"
--azure-key-vault-url "$(SignKeyVaultUrl)"
--description-url "https://github.com/$env:Build_Repository_Name" `
--azure-key-vault-tenant-id "$(SignTenantId)" `
--azure-key-vault-client-id "$(SignClientId)" `
--azure-key-vault-client-secret "$(SignClientSecret)" `
--azure-key-vault-certificate "$(SignKeyVaultCertificate)" `
--azure-key-vault-url "$(SignKeyVaultUrl)" `
--timestamp-url http://timestamp.digicert.com
displayName: Sign nanoCLR assemblies
continueOnError: true
Expand Down Expand Up @@ -919,16 +919,16 @@ jobs:
- pwsh: |
.\sign code azure-key-vault `
"**/*.nupkg" `
--base-directory "$(Build.Repository.LocalPath)\build\bin\Release" `
--base-directory "$(Build.ArtifactStagingDirectory)" `
--file-list "$(Build.Repository.LocalPath)\config\filelist.txt" `
--publisher-name ".NET nanoFramework" `
--description "nanoFramework.nanoCLR NuGets" `
--description-url "https://github.com/$env:Build_Repository_Name"
--azure-key-vault-tenant-id "$(SignTenantId)"
--azure-key-vault-client-id "$(SignClientId)"
--azure-key-vault-client-secret "$(SignClientSecret)"
--azure-key-vault-certificate "$(SignKeyVaultCertificate)"
--azure-key-vault-url "$(SignKeyVaultUrl)"
--description-url "https://github.com/$env:Build_Repository_Name" `
--azure-key-vault-tenant-id "$(SignTenantId)" `
--azure-key-vault-client-id "$(SignClientId)" `
--azure-key-vault-client-secret "$(SignClientSecret)" `
--azure-key-vault-certificate "$(SignKeyVaultCertificate)" `
--azure-key-vault-url "$(SignKeyVaultUrl)" `
--timestamp-url http://timestamp.digicert.com
displayName: Sign packages
continueOnError: true
Expand Down Expand Up @@ -1048,7 +1048,7 @@ jobs:
configuration: 'Release'

- task: DotNetCoreCLI@2
displayName: Install SignTool tool
displayName: Install Sign Client CLI
condition: >-
and(
succeeded(),
Expand All @@ -1066,12 +1066,12 @@ jobs:
--file-list "$(Build.Repository.LocalPath)\config\filelist.txt" `
--publisher-name ".NET nanoFramework" `
--description "nanoFramework.nanoCLR.CLI" `
--description-url "https://github.com/$env:Build_Repository_Name"
--azure-key-vault-tenant-id "$(SignTenantId)"
--azure-key-vault-client-id "$(SignClientId)"
--azure-key-vault-client-secret "$(SignClientSecret)"
--azure-key-vault-certificate "$(SignKeyVaultCertificate)"
--azure-key-vault-url "$(SignKeyVaultUrl)"
--description-url "https://github.com/$env:Build_Repository_Name" `
--azure-key-vault-tenant-id "$(SignTenantId)" `
--azure-key-vault-client-id "$(SignClientId)" `
--azure-key-vault-client-secret "$(SignClientSecret)" `
--azure-key-vault-certificate "$(SignKeyVaultCertificate)" `
--azure-key-vault-url "$(SignKeyVaultUrl)" `
--timestamp-url http://timestamp.digicert.com
displayName: Sign nanoCLR assemblies
continueOnError: true
Expand All @@ -1094,16 +1094,16 @@ jobs:
- pwsh: |
.\sign code azure-key-vault `
"**/*.nupkg" `
--base-directory "$(Build.Repository.LocalPath)\build\bin\Release" `
--base-directory "$(Build.ArtifactStagingDirectory)" `
--file-list "$(Build.Repository.LocalPath)\config\filelist.txt" `
--publisher-name ".NET nanoFramework" `
--description "nanoFramework.nanoCLR.CLI NuGet" `
--description-url "https://github.com/$env:Build_Repository_Name"
--azure-key-vault-tenant-id "$(SignTenantId)"
--azure-key-vault-client-id "$(SignClientId)"
--azure-key-vault-client-secret "$(SignClientSecret)"
--azure-key-vault-certificate "$(SignKeyVaultCertificate)"
--azure-key-vault-url "$(SignKeyVaultUrl)"
--description-url "https://github.com/$env:Build_Repository_Name" `
--azure-key-vault-tenant-id "$(SignTenantId)" `
--azure-key-vault-client-id "$(SignClientId)" `
--azure-key-vault-client-secret "$(SignClientSecret)" `
--azure-key-vault-certificate "$(SignKeyVaultCertificate)" `
--azure-key-vault-url "$(SignKeyVaultUrl)" `
--timestamp-url http://timestamp.digicert.com
displayName: Sign packages
continueOnError: true
Expand Down

0 comments on commit 02e0d18

Please sign in to comment.