10000 Centralize VersionPrefix information in Version.props (#2439) · BrunoProgramming/wpf@589ace3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 589ace3

Browse files
Centralize VersionPrefix information in Version.props (dotnet#2439)
1 parent a8fdd2d commit 589ace3

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

eng/Versions.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4+
<!--
5+
Primary version prefix for this repo - usually changes only once per major release
6+
-->
47
<VersionPrefix>4.8.1</VersionPrefix>
8+
<!--
9+
Version prefix used by a few projects like Project Templates
10+
Revision portion of Major.Minor.Revision usually updated every release
11+
-->
12+
<TraditionalVersionPrefix>3.1.2</TraditionalVersionPrefix>
513
<PreReleaseVersionLabel>servicing</PreReleaseVersionLabel>
614
<DotNetUseShippingVersions>true</DotNetUseShippingVersions>
715
<AssemblyVersion>4.0.0.0</AssemblyVersion>

packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/Microsoft.DotNet.Wpf.ProjectTemplates.ArchNeutral.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<ProjectGuid>{BFF6C118-3369-43B5-ACA6-D65ED00EEBE0}</ProjectGuid>
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<Platforms>AnyCPU;x64</Platforms>
6-
<VersionPrefix>3.1.2</VersionPrefix>
6+
<VersionPrefix>$(TraditionalVersionPrefix)</VersionPrefix>
77
</PropertyGroup>
88

99
<PropertyGroup>

packaging/Microsoft.NET.Sdk.WindowsDesktop/Microsoft.NET.Sdk.WindowsDesktop.ArchNeutral.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<ProjectGuid>{440d06b8-e3de-4c0d-ad25-cd4f43d836e1}</ProjectGuid>
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<Platforms>AnyCPU;x64</Platforms>
6-
<VersionPrefix>3.1.2</VersionPrefix>
6+
<VersionPrefix>$(TraditionalVersionPrefix)</VersionPrefix>
77
</PropertyGroup>
88

99
<PropertyGroup>

0 commit comments

Comments
 (0)
0