Skip to content

Commit cc726cd

Browse files
authored
Point the release notes page at the change history page (#5616)
1 parent 8a75b76 commit cc726cd

3 files changed

Lines changed: 21 additions & 3 deletions

File tree

‎src/UniGetUI.Core.Data.Tests/CoreTests.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void CheckGitHubReleaseUrlsUseEscapedResolvedTag()
109109
"https://api.github.com/repos/Devolutions/UniGetUI/releases/tags/3.3.7-beta1",
110110
CoreData.GetGitHubReleaseApiUrlFromTag("3.3.7-beta1")
111111
);
112-
Assert.Equal("https://devolutions.net/unigetui/release-notes/", CoreData.ReleaseNotesUrl);
112+
Assert.Equal("https://devolutions.net/data/UniGetUIChangeHistoryUpdate.htm", CoreData.ReleaseNotesUrl);
113113
Assert.Equal(CoreData.ReleaseNotesUrl, CoreData.GetGitHubReleasePageUrl());
114114
}
115115
}

‎src/UniGetUI.Core.Data/CoreData.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public static class CoreData
88
{
99
private const string GitHubReleasePageBaseUrl = "https://github.com/Devolutions/UniGetUI/releases/tag/";
1010
private const string GitHubReleaseApiBaseUrl = "https://api.github.com/repos/Devolutions/UniGetUI/releases/tags/";
11-
public const string ReleaseNotesUrl = "https://devolutions.net/unigetui/release-notes/";
11+
public const string ReleaseNotesUrl = "https://devolutions.net/data/UniGetUIChangeHistoryUpdate.htm";
1212

1313
private static int? __code_page;
1414
public static int CODE_PAGE

‎src/UniGetUI.Tests/ToolbarSelectionStateTests.cs‎

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,25 @@ public sealed class ToolbarSelectionStateTests : IDisposable
1616

1717
public ToolbarSelectionStateTests() => Directory.CreateDirectory(_directory);
1818

19-
public void Dispose() => Directory.Delete(_directory, true);
19+
public void Dispose()
20+
{
21+
for (int attempt = 1; ; attempt++)
22+
{
23+
try
24+
{
25+
Directory.Delete(_directory, true);
26+
return;
27+
}
28+
catch (IOException) when (attempt < 20)
29+
{
30+
Thread.Sleep(50);
31+
}
32+
catch (IOException)
33+
{
34+
return;
35+
}
36+
}
37+
}
2038

2139
private static CatalogEntry Entry(string id) => new()
2240
{

0 commit comments

Comments
 (0)