From 8cee316fa17c4c38265cdf32884a4694c715a6de Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Tue, 27 Feb 2018 18:40:59 +0100 Subject: [PATCH] Use provided details to feed the assembly infos. --- ATxService/Properties/AssemblyInfo.cs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/ATxService/Properties/AssemblyInfo.cs b/ATxService/Properties/AssemblyInfo.cs index f88ef9a..4743e48 100644 --- a/ATxService/Properties/AssemblyInfo.cs +++ b/ATxService/Properties/AssemblyInfo.cs @@ -9,7 +9,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("IMCF, Biozentrum, University of Basel")] [assembly: AssemblyProduct("AutoTx")] -[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyCopyright("© 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -31,9 +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.GitCommitName + - " @ " + BuildDetails.GitBranch + - " (" + BuildDetails.BuildDate + ")")] +[assembly: AssemblyInformationalVersion(BuildDetails.BuildDate + + " " + BuildDetails.GitCommit + + " (" + BuildDetails.GitBranch + ")")] -- GitLab