Skip to content

Commit d103e2a

Browse files
authored
Set build number to arcade build revision for VMR builds (#47361)
1 parent 0df21a7 commit d103e2a

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: "Matt Mitchell (.NET)" <[email protected]>
3+
Date: Fri, 7 Mar 2025 10:35:33 -0800
4+
Subject: [PATCH] Set build number to arcade build revision for VMR builds
5+
6+
Backport PR: https://github.com/NuGet/NuGet.Client/pull/6305
7+
8+
---
9+
eng/dotnet-build/dotnet-build.proj | 3 +++
10+
1 file changed, 3 insertions(+)
11+
12+
diff --git a/eng/dotnet-build/dotnet-build.proj b/eng/dotnet-build/dotnet-build.proj
13+
index 651c72ba3..66182e488 100644
14+
--- a/eng/dotnet-build/dotnet-build.proj
15+
+++ b/eng/dotnet-build/dotnet-build.proj
16+
@@ -29,6 +29,9 @@
17+
<ItemGroup>
18+
<_InnerBuildProperties Include="DotNetBuildPhase=InnerRepo" />
19+
<_InnerBuildProperties Include="DotNetBuildInnerRepo=true" />
20+
+ <!-- NuGet uses a pre-release string that is dependent on the build revision. This is normally set via their
21+
+ YAML. Set based on the parsed version information. -->
22+
+ <_InnerBuildProperties Condition="'$(VersionSuffixBuildOfTheDay)' != ''" Include="BuildNumber=$(VersionSuffixBuildOfTheDay)" />
23+
</ItemGroup>
24+
25+
<!-- Pass _ImportOrUseTooling = false to avoid attempting to restore unneeded packages in Tools.proj.

0 commit comments

Comments
 (0)