diff --git a/.semver.txt b/.semver.txt index ea2f1d3..e9acec7 100644 --- a/.semver.txt +++ b/.semver.txt @@ -1 +1 @@ -1.0.74 +1.0.75 diff --git a/src/JiraTimeBot/Mercurial/GitLog.cs b/src/JiraTimeBot/Mercurial/GitLog.cs index adbdcbf..08a10e0 100644 --- a/src/JiraTimeBot/Mercurial/GitLog.cs +++ b/src/JiraTimeBot/Mercurial/GitLog.cs @@ -2,14 +2,11 @@ using System.Collections.Generic; using System.IO; using System.Linq; -using System.ServiceModel.Security; -using System.Text; using System.Threading; using JiraTimeBot.Configuration; using JiraTimeBot.Mercurial.Modifiers; using JiraTimeBot.TaskTime.Objects; using LibGit2Sharp; -using LibGit2Sharp.Handlers; namespace JiraTimeBot.Mercurial { @@ -80,7 +77,7 @@ namespace JiraTimeBot.Mercurial var reflog = repo.Refs.Log(repo.Refs.Head); foreach (var reflogItem in reflog) { - if (reflogItem.Committer.When.Date != date || reflogItem.Committer.Email != settings.MercurialAuthorEmail) + if (reflogItem.Committer.When.Date != date.Value.Date || reflogItem.Committer.Email != settings.MercurialAuthorEmail) { continue; } @@ -98,7 +95,7 @@ namespace JiraTimeBot.Mercurial { return new List(); } - if (commit.Author.When.DateTime.Date != date || commit.Author.Email != settings.MercurialAuthorEmail) + if (commit.Author.When.DateTime.Date != date.Value.Date || commit.Author.Email != settings.MercurialAuthorEmail) { continue; } diff --git a/src/JiraTimeBot/Properties/AssemblyInfo.cs b/src/JiraTimeBot/Properties/AssemblyInfo.cs index ec247d9..e1e91ab 100644 --- a/src/JiraTimeBot/Properties/AssemblyInfo.cs +++ b/src/JiraTimeBot/Properties/AssemblyInfo.cs @@ -1,31 +1,31 @@ -using System.Reflection; -using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("JiraTimeBot")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("JiraTimeBot")] -[assembly: AssemblyCopyright("Copyright © 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("f3b89316-c38c-4ce6-9d88-0b1373cfba1a")] -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// 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.74")] -[assembly: AssemblyFileVersion("1.0.74")] -[assembly: AssemblyInformationalVersion("1.0.74")] +using System.Reflection; +using System.Runtime.InteropServices; +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("JiraTimeBot")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("JiraTimeBot")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("f3b89316-c38c-4ce6-9d88-0b1373cfba1a")] +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// 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.75")] +[assembly: AssemblyFileVersion("1.0.75")] +[assembly: AssemblyInformationalVersion("1.0.75")]