Skip to content

Commit bf17d45

Browse files
committed
Separate nuget packaging into Stable and Experimental
1 parent 687ca53 commit bf17d45

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

Directory.Build.props

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<Project>
22
<!-- Directory.Build.props contains the common build settings for all projects in the repo. -->
33

4-
<Import Project="build/BranchInfo.props" />
4+
<Import Project="build/StablePackagesInfo.props" />
5+
<Import Project="$(RepoRoot)build/BranchInfo.props" />
6+
<Import Project="$(RepoRoot)build/BranchInfo.Stable.props" Condition="'$(MSBuildProjectName.Contains(.symbols))' == 'false' AND '$(StableProjects.Contains($(MSBuildProjectName)))' == 'true'"/>
7+
<Import Project="$(RepoRoot)build/BranchInfo.Stable.props" Condition="'$(MSBuildProjectName.Contains(.symbols))' == 'true' AND '$(StableProjects.Contains($(MSBuildProjectName.Substring(0, $(MSBuildProjectName.IndexOf(.symbols))))))' == 'true'"/>
58
<Import Project="build/Dependencies.props" />
69

710
<PropertyGroup>

build/BranchInfo.Stable.props

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project>
2+
<PropertyGroup>
3+
<MajorVersion>0</MajorVersion>
4+
<MinorVersion>12</MinorVersion>
5+
<PatchVersion>0</PatchVersion>
6+
<PreReleaseLabel>preview</PreReleaseLabel>
7+
</PropertyGroup>
8+
</Project>

build/StablePackagesInfo.props

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Project>
2+
<ItemGroup>
3+
<StableProject Include="Microsoft.ML"/>
4+
<StableProject Include="Microsoft.ML.CpuMath"/>
5+
<StableProject Include="Microsoft.ML.FastTree"/>
6+
<StableProject Include="Microsoft.ML.ImageAnalytics"/>
7+
<StableProject Include="Microsoft.ML.LightGbm"/>
8+
<StableProject Include="Microsoft.ML.Mkl.Components"/>
9+
<StableProject Include="Microsoft.ML.Mkl.Redist"/>
10+
</ItemGroup>
11+
<PropertyGroup>
12+
<StableProjects>@(StableProject, ';')</StableProjects>
13+
</PropertyGroup>
14+
</Project>

0 commit comments

Comments
 (0)