Skip to content

Commit 8e5feb5

Browse files
authored
[release/8.0.1xx-xcode15.4] Fix conflicts in 59520d4 (#21107)
It looks like commit 59520d4 was missing parts of commit 2abbaf9.
1 parent 59520d4 commit 8e5feb5

File tree

6 files changed

+25
-71
lines changed

6 files changed

+25
-71
lines changed

dotnet/package/common.csproj

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,15 @@
126126
<Error Condition="Exists($(AssetManifestPath))" Text="The manifest file '$(AssetManifestPath)' already exists." />
127127

128128
<ItemGroup>
129-
<BuildArtifacts Include="$(NupkgPath)\Microsoft*.$(_PlatformName).*.nupkg" />
129+
<ItemsToPush Include="$(NupkgPath)\*.nupkg" />
130130
</ItemGroup>
131131

132-
<Error Condition="'@(BuildArtifacts)' == ''" Text="No packages to create manifest from." />
132+
<Error Condition="'@(ItemsToPush)' == ''" Text="No packages to push." />
133+
134+
<Message Text="Publishing %(ItemsToPush.Identity)" Importance="normal" />
133135

134136
<ItemGroup>
135-
<ManifestBuildData Include="InitialAssetsLocation=https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
137+
<ManifestBuildData Include="InitialAssetsLocation=" />
136138
<ManifestBuildData Include="AzureDevOpsBuildId=$(BUILD_BUILDID)" />
137139
<ManifestBuildData Include="AzureDevOpsBuildDefinitionId=$(SYSTEM_DEFINITIONID)" />
138140
<ManifestBuildData Include="AzureDevOpsProject=$(SYSTEM_TEAMPROJECT)" />
@@ -151,22 +153,16 @@
151153
ManifestCommit="$(BUILD_SOURCEVERSION)"
152154
AssetManifestPath="$(AssetManifestPath)"
153155
PublishingVersion="3" />
154-
</Target>
155-
156-
<Target Name="PushManifestToBuildAssetRegistry" >
157-
<PropertyGroup>
158-
<VersionPrefix>1.0.0</VersionPrefix>
159-
</PropertyGroup>
160156

161157
<MSBuild
162158
Targets="Restore"
163159
Projects="$(PkgMicrosoft_DotNet_Arcade_Sdk)\tools\SdkTasks\PublishBuildAssets.proj"
164-
Properties="Configuration=$(Configuration);RepoRoot=$(_RepositoryPath);VersionPrefix=$(VersionPrefix);NuGetPackageRoot=$(_RepositoryPath)\packages\"
160+
Properties="Configuration=$(Configuration);RepoRoot=$(_RepositoryPath);VersionPrefix=$(_PackageVersion);NuGetPackageRoot=$(_RepositoryPath)\packages\"
165161
/>
166162

167163
<MSBuild
168164
Projects="$(PkgMicrosoft_DotNet_Arcade_Sdk)\tools\SdkTasks\PublishBuildAssets.proj"
169-
Properties="Configuration=$(Configuration);RepoRoot=$(_RepositoryPath);VersionPrefix=$(VersionPrefix);ManifestsPath=$(BarManifestOutputPath);MaestroApiEndpoint=https://maestro-prod.westus2.cloudapp.azure.com;NuGetPackageRoot=$(_RepositoryPath)\packages\"
165+
Properties="Configuration=$(Configuration);RepoRoot=$(_RepositoryPath);VersionPrefix=$(_PackageVersion);ManifestsPath=$(ArtifactsLogDir)AssetManifest;MaestroApiEndpoint=https://maestro.dot.net;NuGetPackageRoot=$(_RepositoryPath)\packages\"
170166
/>
171167
</Target>
172168

tools/devops/automation/build-pipeline.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ parameters:
4545
displayName: 'Push Nugets (dotnet)'
4646
default: true
4747

48+
- name: pushNugetsToMaestro
49+
type: boolean
50+
default: true
51+
4852
- name: testConfigurations
4953
displayName: Test configurations to run
5054
type: object
@@ -251,6 +255,7 @@ extends:
251255
forceInsertion: ${{ parameters.forceInsertion }}
252256
skipESRP: ${{ parameters.skipESRP }}
253257
pushNugets: ${{ parameters.pushNugets }}
258+
pushNugetsToMaestro: ${{ parameters.pushNugetsToMaestro }}
254259
${{ if ne(length(parameters.testConfigurations), 0)}}:
255260
testConfigurations: ${{ parameters.testConfigurations }}
256261
deviceTestsConfigurations: ${{ parameters.deviceTestsConfigurations }}

tools/devops/automation/templates/build/build-nugets.yml

Lines changed: 0 additions & 59 deletions
This file was deleted.

tools/devops/automation/templates/build/build-pkgs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ steps:
6262
timeoutInMinutes: 180
6363
6464
# build nugets
65-
- template: build-nugets.yml
65+
- bash: $(Build.SourcesDirectory)/xamarin-macios/tools/devops/automation/scripts/bash/build-nugets.sh
66+
displayName: 'Build Nugets'
67+
condition: and(succeeded(), contains(variables['configuration.BuildNugets'], 'True'), ne(variables['ENABLE_DOTNET'], ''))
68+
timeoutInMinutes: 180
6669

6770
- bash: $(System.DefaultWorkingDirectory)/xamarin-macios/tools/devops/automation/scripts/bash/generate-workload-rollback.sh
6871
name: workload_file

tools/devops/automation/templates/main-stage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ parameters:
3232
type: boolean
3333
default: true # default to true until otherwhise
3434

35+
- name: pushNugetsToMaestro
36+
type: boolean
37+
default: true
38+
3539
- name: isPR
3640
type: boolean
3741

@@ -419,6 +423,7 @@ stages:
419423
repositoryAlias: ${{ parameters.repositoryAlias }}
420424
commit: ${{ parameters.commit }}
421425
pushNugets: ${{ parameters.pushNugets }}
426+
pushNugetsToMaestro: ${{ parameters.pushNugetsToMaestro }}
422427

423428
- stage: funnel
424429
displayName: '${{ parameters.stageDisplayNamePrefix }}Collect signed artifacts'

tools/devops/automation/templates/release/vs-insertion-prep.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ parameters:
2121
type: boolean
2222
default: true
2323

24+
- name: pushNugetsToMaestro
25+
type: boolean
26+
default: true
27+
2428
- name: stageDisplayNamePrefix
2529
type: string
2630
default: ''

0 commit comments

Comments
 (0)