diff --git a/.github/workflows/scripts/nugetSlackNotifications/Program.cs b/.github/workflows/scripts/nugetSlackNotifications/Program.cs index bafb36e99a..0041155882 100644 --- a/.github/workflows/scripts/nugetSlackNotifications/Program.cs +++ b/.github/workflows/scripts/nugetSlackNotifications/Program.cs @@ -88,7 +88,7 @@ static async Task CheckPackage(PackageInfo package, PackageMetadataResource meta var previous = metaData.Skip(1).FirstOrDefault(); // see if it was published within the last _daysToSearch days - if (latest.Published > DateTime.Today.AddDays(-_daysToSearch)) + if (latest.Published.Value.Date.Date >= DateTime.Today.AddDays(-_daysToSearch)) { if (previous != null && (package.IgnorePatch || package.IgnoreMinor)) { @@ -135,7 +135,7 @@ static async Task AlertOnNewVersions() var msg = "Hi team! Dotty here :technologist::pager:\nThere's some new NuGet releases you should know about :arrow_heading_down::sparkles:"; foreach (var versionData in _newVersions) { - msg += $"\n\t:package: {char.ToUpper(versionData.PackageName[0]) + versionData.PackageName[1..]} {versionData.OldVersion} :point_right: <{versionData.Url}|{versionData.NewVersion}>"; + msg += $"\n\t:package: {versionData.PackageName} {versionData.OldVersion} :point_right: <{versionData.Url}|{versionData.NewVersion}>"; } msg += $"\nThanks and have a wonderful {DateTime.Now.DayOfWeek}."; @@ -160,7 +160,7 @@ static async Task CreateGithubIssuesForNewVersions() { var newIssue = new NewIssue($"Dotty: update tests for {versionData.PackageName} from {versionData.OldVersion} to {versionData.NewVersion}") { - Body = versionData.Url + Body = $"Package [{versionData.PackageName}]({versionData.Url}) was updated from {versionData.OldVersion} to {versionData.NewVersion} on {versionData.PublishDate.ToShortDateString()}." }; newIssue.Labels.Add("testing"); newIssue.Labels.Add("Core Technologies"); diff --git a/.github/workflows/scripts/nugetSlackNotifications/packages.json b/.github/workflows/scripts/nugetSlackNotifications/packages.json index 31571300a4..0f790890ec 100644 --- a/.github/workflows/scripts/nugetSlackNotifications/packages.json +++ b/.github/workflows/scripts/nugetSlackNotifications/packages.json @@ -27,6 +27,6 @@ { "packageName": "serilog.aspnetcore", "ignorePatch": false, "ignoreMinor": false }, { "packageName": "serilog.sinks.file", "ignorePatch": false, "ignoreMinor": false }, { "packageName": "serilog.sinks.console", "ignorePatch": false, "ignoreMinor": false }, - { "packageName": "stackexchange.redis", "ignorePatch": false, "ignoreMinor": true }, + { "packageName": "stackexchange.redis", "ignorePatch": false, "ignoreMinor": false }, { "packageName": "system.data.sqlclient", "ignorePatch": false, "ignoreMinor": false} ]