From f39a8a6cb8f8474b6aadd6985ca1abc201e97048 Mon Sep 17 00:00:00 2001 From: Shaun Wilde Date: Sun, 20 Jan 2019 10:02:06 +1100 Subject: [PATCH] #855 add AssemblyInformationalVersion with git sha --- build/version.build | 49 +++++++++++++++++++++++---------------------- default.build | 2 ++ 2 files changed, 27 insertions(+), 24 deletions(-) diff --git a/build/version.build b/build/version.build index 3202eb215..89ac55e88 100644 --- a/build/version.build +++ b/build/version.build @@ -1,40 +1,41 @@ - - - + + + - - - - + + + + - + - - - + + + - using System.Reflection; - [assembly: AssemblyVersion("${buildnumber.version}")] - [assembly: AssemblyFileVersion("${buildnumber.version}")] + using System.Reflection; + [assembly: AssemblyVersion("${buildnumber.version}")] + [assembly: AssemblyFileVersion("${buildnumber.version}")] + [assembly: AssemblyInformationalVersion("${buildnumber.version}-${ci.gitSha}")] - #define FILEVER ${buildnumber.major},${buildnumber.minor},${buildnumber.build},${buildnumber.revision} - #define PRODUCTVER ${buildnumber.major},${buildnumber.minor},${buildnumber.build},${buildnumber.revision} - #define STRFILEVER "${buildnumber.version}" - #define STRPRODUCTVER "${buildnumber.version}" + #define FILEVER ${buildnumber.major},${buildnumber.minor},${buildnumber.build},${buildnumber.revision} + #define PRODUCTVER ${buildnumber.major},${buildnumber.minor},${buildnumber.build},${buildnumber.revision} + #define STRFILEVER "${buildnumber.version}" + #define STRPRODUCTVER "${buildnumber.version}" - <?define Version = "${buildnumber.major}.${buildnumber.minor}.${buildnumber.build}.${buildnumber.revision}" ?> - <Include /> + <?define Version = "${buildnumber.major}.${buildnumber.minor}.${buildnumber.build}.${buildnumber.revision}" ?> + <Include /> - - - + + + diff --git a/default.build b/default.build index 027b661dc..2d12174a6 100644 --- a/default.build +++ b/default.build @@ -18,6 +18,8 @@ + +