From 33e603705d60bd3d8f1e1c3402302b7ce4264849 Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Tue, 27 Feb 2018 22:44:03 +0100 Subject: [PATCH] Feed assembly infos for all projects with provided details. --- ATxCommon/Properties/AssemblyInfo.cs | 12 ++++++++++-- ATxConfigTest/Properties/AssemblyInfo.cs | 12 ++++++++++-- ATxTray/Properties/AssemblyInfo.cs | 12 ++++++++++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/ATxCommon/Properties/AssemblyInfo.cs b/ATxCommon/Properties/AssemblyInfo.cs index 0df64db..3ffd032 100644 --- a/ATxCommon/Properties/AssemblyInfo.cs +++ b/ATxCommon/Properties/AssemblyInfo.cs @@ -31,5 +31,13 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion(BuildDetails.GitMajor + "." + + BuildDetails.GitMinor + "." + + BuildDetails.GitPatch + ".0")] +[assembly: AssemblyFileVersion(BuildDetails.GitMajor + "." + + BuildDetails.GitMinor + "." + + BuildDetails.GitPatch + ".0")] + +[assembly: AssemblyInformationalVersion(BuildDetails.BuildDate + + " " + BuildDetails.GitCommit + + " (" + BuildDetails.GitBranch + ")")] diff --git a/ATxConfigTest/Properties/AssemblyInfo.cs b/ATxConfigTest/Properties/AssemblyInfo.cs index bebb6d6..1c4175b 100644 --- a/ATxConfigTest/Properties/AssemblyInfo.cs +++ b/ATxConfigTest/Properties/AssemblyInfo.cs @@ -31,5 +31,13 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion(BuildDetails.GitMajor + "." + + BuildDetails.GitMinor + "." + + BuildDetails.GitPatch + ".0")] +[assembly: AssemblyFileVersion(BuildDetails.GitMajor + "." + + BuildDetails.GitMinor + "." + + BuildDetails.GitPatch + ".0")] + +[assembly: AssemblyInformationalVersion(BuildDetails.BuildDate + + " " + BuildDetails.GitCommit + + " (" + BuildDetails.GitBranch + ")")] diff --git a/ATxTray/Properties/AssemblyInfo.cs b/ATxTray/Properties/AssemblyInfo.cs index 48bf8a9..9642ea0 100644 --- a/ATxTray/Properties/AssemblyInfo.cs +++ b/ATxTray/Properties/AssemblyInfo.cs @@ -31,5 +31,13 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion(BuildDetails.GitMajor + "." + + BuildDetails.GitMinor + "." + + BuildDetails.GitPatch + ".0")] +[assembly: AssemblyFileVersion(BuildDetails.GitMajor + "." + + BuildDetails.GitMinor + "." + + BuildDetails.GitPatch + ".0")] + +[assembly: AssemblyInformationalVersion(BuildDetails.BuildDate + + " " + BuildDetails.GitCommit + + " (" + BuildDetails.GitBranch + ")")] -- GitLab