diff --git a/eng/pipelines/common/sdk-insertion.yml b/eng/pipelines/common/sdk-insertion.yml index f85427cf887f..fdb7ed36dd2d 100644 --- a/eng/pipelines/common/sdk-insertion.yml +++ b/eng/pipelines/common/sdk-insertion.yml @@ -78,6 +78,7 @@ jobs: projects: $(Build.SourcesDirectory)\src\Workload\Microsoft.Maui.Sdk\Microsoft.Maui.Sdk.csproj arguments: >- -t:PushManifestToBuildAssetRegistry + -p:OfficialBuildId=$(_BuildOfficalId) -p:BuildAssetRegistryToken=$(MaestroAccessToken) -p:OutputPath=$(Build.StagingDirectory)\nuget-signed\ -v:n -bl:$(Build.StagingDirectory)\binlogs\push-bar-manifest.binlog diff --git a/eng/pipelines/common/variables.yml b/eng/pipelines/common/variables.yml index 830d73f6f03f..ba8fdea02abd 100644 --- a/eng/pipelines/common/variables.yml +++ b/eng/pipelines/common/variables.yml @@ -1,6 +1,8 @@ variables: - name: BuildVersion value: $[counter('buildversion-counter', 5000)] +- name: _BuildOfficalId + value: $[ format('{0}.{1}', format('{0:yyyyMMdd}', pipeline.startTime), counter(format('{0:yyyyMMdd}', pipeline.startTime), 1) )] - name: NUGET_VERSION value: 6.4.0 - name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE diff --git a/eng/pipelines/maui-release.yml b/eng/pipelines/maui-release.yml index 2cf36c5f32bc..ef01aea5c06b 100644 --- a/eng/pipelines/maui-release.yml +++ b/eng/pipelines/maui-release.yml @@ -137,9 +137,7 @@ extends: value: $(Build.SourcesDirectory)/build.cmd -ci - name: _BuildConfig value: Release - - name: _BuildOfficalId - value: $[ format('{0}.{1}', format('{0:yyyyMMdd}', pipeline.startTime), counter(format('{0:yyyyMMdd}', pipeline.startTime), 1) )] - + steps: - template: /eng/pipelines/common/pack.yml@self parameters: diff --git a/src/Workload/Shared/Maestro.targets b/src/Workload/Shared/Maestro.targets index 2974912452e9..1f6d6b6e8b98 100644 --- a/src/Workload/Shared/Maestro.targets +++ b/src/Workload/Shared/Maestro.targets @@ -48,15 +48,17 @@ AssetManifestPath="$(AssetManifestPath)" PublishingVersion="3" /> + +