From fff0151b62536efaea5f1eb0093b25f5a946d0ee Mon Sep 17 00:00:00 2001 From: Shannon Date: Fri, 20 Mar 2015 09:31:14 +1100 Subject: [PATCH] Updates build process to: Ensure the AssemblyFileVersion is set to the real umbraco version, AssemblyInformationalVersion is set to the real umbraco version including the pre-release name if there is one, AssemblyCopyright has the correct year. --- build/Build.proj | 152 +++++++++++++++++++++++++------------------- src/SolutionInfo.cs | 9 ++- src/umbraco.sln | 1 + 3 files changed, 95 insertions(+), 67 deletions(-) diff --git a/build/Build.proj b/build/Build.proj index bd037b3569..40e24b6eb1 100644 --- a/build/Build.proj +++ b/build/Build.proj @@ -1,4 +1,3 @@ - - + - - - - + + + + - - - + + + @@ -161,7 +160,7 @@ - + @@ -177,14 +176,14 @@ - - - + + + - + @@ -217,7 +216,7 @@ - + @@ -226,24 +225,24 @@ DestinationFiles="$(WebAppFolder)Web.config" OverwriteReadOnlyFiles="true" SkipUnchangedFiles="false" /> - - - - + + + + - - - - - - - + + + + + + + @@ -261,20 +260,20 @@ - - + + - + - + - + @@ -315,12 +314,12 @@ - - $(BUILD_RELEASE) - $(BUILD_RELEASE)-$(BUILD_COMMENT) - - - + + $(BUILD_RELEASE) + $(BUILD_RELEASE)-$(BUILD_COMMENT) + + + - - + + + + + + + + + + + + \ No newline at end of file diff --git a/src/SolutionInfo.cs b/src/SolutionInfo.cs index 4ffe6a35dd..6ef556ffd3 100644 --- a/src/SolutionInfo.cs +++ b/src/SolutionInfo.cs @@ -1,8 +1,8 @@ -using System.Reflection; +using System.Reflection; using System.Resources; -[assembly: AssemblyCompany("umbraco")] -[assembly: AssemblyCopyright("Copyright © Umbraco 2012")] +[assembly: AssemblyCompany("Umbraco")] +[assembly: AssemblyCopyright("Copyright © Umbraco 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -10,3 +10,6 @@ using System.Resources; [assembly: AssemblyVersion("1.0.*")] + +[assembly: AssemblyFileVersion("7.2.4")] +[assembly: AssemblyInformationalVersion("7.2.4")] \ No newline at end of file diff --git a/src/umbraco.sln b/src/umbraco.sln index 70db6aa8fc..78202fd38a 100644 --- a/src/umbraco.sln +++ b/src/umbraco.sln @@ -11,6 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{2849E9D4 ..\build\BuildBelle.bat = ..\build\BuildBelle.bat ..\build\RevertToCleanInstall.bat = ..\build\RevertToCleanInstall.bat ..\build\RevertToEmptyInstall.bat = ..\build\RevertToEmptyInstall.bat + SolutionInfo.cs = SolutionInfo.cs umbraco.presentation.targets = umbraco.presentation.targets ..\build\UmbracoVersion.txt = ..\build\UmbracoVersion.txt ..\build\webpihash.txt = ..\build\webpihash.txt