Compare commits

...
1 Commits
3 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -1 +1 @@
1.0.86 1.0.87
+3 -3
View File
@@ -26,6 +26,6 @@ using System.Runtime.InteropServices;
// //
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.86")] [assembly: AssemblyVersion("1.0.87")]
[assembly: AssemblyFileVersion("1.0.86")] [assembly: AssemblyFileVersion("1.0.87")]
[assembly: AssemblyInformationalVersion("1.0.86")] [assembly: AssemblyInformationalVersion("1.0.87")]
@@ -105,7 +105,7 @@ namespace JiraTimeBot.RepositoryProviders
continue; continue;
} }
var regex = new Regex("[a-zA-Z]{1,4}-[0-9]{1,6}"); var regex = new Regex("[a-zA-Z0-9]{1,4}-[0-9]{1,6}");
var branch = ListBranchesContaininingCommit(repo, commit.Sha) var branch = ListBranchesContaininingCommit(repo, commit.Sha)
.Select(f => f.FriendlyName) .Select(f => f.FriendlyName)
.FirstOrDefault(f => regex.IsMatch(f)); .FirstOrDefault(f => regex.IsMatch(f));