Skip to content

Commit

Permalink
Sign appget binaries not just the installer
Browse files Browse the repository at this point in the history
  • Loading branch information
kayone committed Aug 15, 2019
1 parent c636bfc commit 34115f1
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,24 @@ steps:
otherConsoleOptions: '/Framework:.NETFramework,Version=v4.6.1'
runInParallel: true

- task: CmdLine@2
displayName: Sign Binaries
inputs:
script: 'setup\\AzureSignTool\\AzureSignTool.exe sign ^
--description-url "https://appget.net" ^
--file-digest sha512 ^
--azure-key-vault-url $(AKV_URL) ^
--azure-key-vault-client-id $(AKV_CLIENT_ID) ^
--azure-key-vault-client-secret $(AKV_CLIENT_SECRET) ^
--azure-key-vault-certificate appget-authenticode ^
--timestamp-rfc3161 http://timestamp.digicert.com ^
--timestamp-digest sha512 ^
--verbose ^
$(build.sourcesdirectory)\src\AppGet.Gui\bin\Release\appget.exe ^
$(build.sourcesdirectory)\src\AppGet.Gui\bin\Release\appget.gui.exe ^
$(build.sourcesdirectory)\src\AppGet.Gui\bin\Release\AppGet.Manifest.dll'
failOnStderr: true

- task: CmdLine@2
displayName: Create Installer
inputs:
Expand All @@ -111,7 +129,7 @@ steps:
--azure-key-vault-certificate appget-authenticode ^
--timestamp-rfc3161 http://timestamp.digicert.com ^
--timestamp-digest sha512 ^
-v ^
--verbose ^
$(build.artifactstagingdirectory)\appget.$(Build.BuildNumber).exe'
failOnStderr: true

Expand Down

0 comments on commit 34115f1

Please sign in to comment.