Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workload metadata (#100648)
Browse files Browse the repository at this point in the history
joeloff authored Apr 15, 2024
1 parent 457c7d5 commit f62ab5a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/workloads/workloads.csproj
Original file line number Diff line number Diff line change
@@ -137,6 +137,15 @@
<VSDrop Include="%(PartitionedSwixProjects.ZipFile)" SourceDirectory="%(ManifestOutputPath)" />
</ItemGroup>

<!-- Generate metadata for VSDROP automation. This information cannot be obtained during staging when insertions are triggered -->
<ItemGroup>
<VSDropMetadata Include="$(FileVersion)" />
<VSDropMetadata Include="$(BUILD_REPOSITORY_NAME)" />
<VSDropMetadata Include="$(BUILD_SOURCEBRANCH)"/>
</ItemGroup>

<WriteLinesToFile File="%(VSDrop.SourceDirectory)\.metadata" Lines="@(VSDropMetadata)" Overwrite="true" Condition="'$(OfficialBuild)' == 'true'" />

<MakeDir Directories="$(ArtifactsNonShippingPackagesDir)" />
<MakeDir Directories="$(VisualStudioSetupInsertionPath)" />

0 comments on commit f62ab5a

Please sign in to comment.