File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
eng/pipelines/templates/jobs/dnup Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 3131 enableSbom : ${{ parameters.enableSbom }}
3232 variables :
3333 - ${{ insert }} : ${{ parameters.variables }}
34+ - name : _officialBuildProperties
35+ value : /p:OfficialBuilder=Microsoft /p:OfficialBuildId=$(Build.BuildNumber)
3436 dependsOn : ${{ parameters.dependsOn }}
3537 preSteps : ${{ parameters.preSteps }}
3638 templateContext :
@@ -53,14 +55,14 @@ jobs:
5355 steps :
5456 - ${{ if eq(parameters.pool.os, 'windows') }} :
5557 - powershell : |
56- & .\restore.cmd
58+ & .\restore.cmd $(_officialBuildProperties)
5759 displayName: 🍱 Bootstrap toolset (Windows)
5860 - powershell : |
59- & .\.dotnet\dotnet build test\dnup.Tests\dnup.Tests.csproj -c Release -bl:$(Build.SourcesDirectory)/artifacts/binlogs/dnup-library-build.binlog
61+ & .\.dotnet\dotnet build test\dnup.Tests\dnup.Tests.csproj -c Release -bl:$(Build.SourcesDirectory)/artifacts/binlogs/dnup-library-build.binlog $(_officialBuildProperties)
6062 displayName: 💻 Build Windows
6163 - powershell : |
62- & .\.dotnet\dotnet pack .\src\Installer\Microsoft.Dotnet.Installation\Microsoft.Dotnet.Installation.csproj -bl:$(Build.SourcesDirectory)/artifacts/binlogs/dnup-library-package.binlog
64+ & .\.dotnet\dotnet pack .\src\Installer\Microsoft.Dotnet.Installation\Microsoft.Dotnet.Installation.csproj -bl:$(Build.SourcesDirectory)/artifacts/binlogs/dnup-library-package.binlog $(_officialBuildProperties)
6365 displayName: 📦 Package dnup library
6466 - powershell : |
65- & .\.dotnet\dotnet build .\src\Installer\Installer.sign.proj /t:Sign -bl:$(Build.SourcesDirectory)/artifacts/binlogs/dnup-library-sign.binlog
67+ & .\.dotnet\dotnet build .\src\Installer\Installer.sign.proj /t:Sign -bl:$(Build.SourcesDirectory)/artifacts/binlogs/dnup-library-sign.binlog $(_officialBuildProperties)
6668 displayName: 🖋️ Sign dnup library packages with arcade signtool
You can’t perform that action at this time.
0 commit comments