Skip to content

Commit

Permalink
Move BuildRing constants (#2259)
Browse files Browse the repository at this point in the history
  • Loading branch information
krschau committed Feb 20, 2024
1 parent 97dbd3d commit e1dc3d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/DevHome.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,9 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>

<PropertyGroup>
<DefineConstants Condition="'$(BuildRing)'=='Canary'">$(DefineConstants);CANARY_BUILD</DefineConstants>
<DefineConstants Condition="'$(BuildRing)'=='Stable'">$(DefineConstants);STABLE_BUILD</DefineConstants>
</PropertyGroup>
</Project>
5 changes: 5 additions & 0 deletions tools/Dashboard/DevHome.Dashboard/DevHome.Dashboard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,9 @@
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
</PropertyGroup>

<PropertyGroup>
<DefineConstants Condition="'$(BuildRing)'=='Canary'">$(DefineConstants);CANARY_BUILD</DefineConstants>
<DefineConstants Condition="'$(BuildRing)'=='Stable'">$(DefineConstants);STABLE_BUILD</DefineConstants>
</PropertyGroup>
</Project>

0 comments on commit e1dc3d1

Please sign in to comment.