From cd4f6ed1fbc5a5c6a0292d1d1243006438acd10f Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sun, 24 Apr 2022 19:08:53 +0200 Subject: [PATCH] Centralize ComputeSharp version number --- Directory.Build.props | 13 +++++++++++-- Directory.Build.targets | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 49c396d4..86d987a3 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -12,9 +12,18 @@ $(MSBuildThisFileDirectory)artifacts/ + - 2.0.0.0 - 2.0.0 + 2.0.0 + + + + $(ComputeSharpPackageVersion).0 + $(ComputeSharpPackageVersion) alpha pr true diff --git a/Directory.Build.targets b/Directory.Build.targets index 0c0e8a0b..34a9cdfe 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -13,9 +13,9 @@ Manually set the version if null. This is copied from Microsoft.NET.DefaultAssemblyInfo.targets and is needed for cases where that target is not being automatically imported (which happens because MSBuild is used instead of dotnet build for some cases, due to the solution having some UWP and WinUI 3 projects, and non SDK-style too). + The lines setting the prefix have been omitted, as that is already handled in the root .props file. --> - 2.0.0 $(VersionPrefix)-$(VersionSuffix) $(VersionPrefix)