|
@@ -12,6 +12,8 @@ namespace AwInitilizer.Procedure.VersionLog
|
|
|
{
|
|
|
public class VersionLogProcedure : ProcedureBase
|
|
|
{
|
|
|
+ private static readonly string SoftwareVersionHeader = "FullsetTestingVersion";
|
|
|
+
|
|
|
private static readonly List<string> excludeHeaderList = new List<string>()
|
|
|
{
|
|
|
"FactoryConfiguration",
|
|
@@ -80,7 +82,6 @@ namespace AwInitilizer.Procedure.VersionLog
|
|
|
//LogPair.Add(infoPair.Key, infoPair.Value);
|
|
|
}
|
|
|
}
|
|
|
- return true;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -88,6 +89,16 @@ namespace AwInitilizer.Procedure.VersionLog
|
|
|
|
|
|
return false;
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ var assembly = System.Reflection.Assembly.GetExecutingAssembly();
|
|
|
+ var version = assembly.GetName().Version.ToString();
|
|
|
+ var gitVersion = System.Diagnostics.FileVersionInfo.GetVersionInfo(assembly.Location).ProductVersion;
|
|
|
+ var logVersion = string.Format("{0}-{1}", version, gitVersion);
|
|
|
+
|
|
|
+ LogWriter.Report(SoftwareVersionHeader, logVersion);
|
|
|
+
|
|
|
+ return true;
|
|
|
}
|
|
|
|
|
|
private string GetMesReportKey(string readVersion)
|