Final fix for v5.0.8 update.
This commit is contained in:
parent
f843001bef
commit
93e16d60c2
3 changed files with 4 additions and 14 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -2,16 +2,6 @@
|
||||||
|
|
||||||
Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o
|
Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o
|
||||||
|
|
||||||
## [5.0.9] - 23.06.2024
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- Updated the links so EllieBot can properly check for updates.
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- Re-Added marmalades/marmalade.yml so the compiled build works.
|
|
||||||
|
|
||||||
## [5.0.8] - 19.06.2024
|
## [5.0.8] - 19.06.2024
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>true</ImplicitUsings>
|
<ImplicitUsings>true</ImplicitUsings>
|
||||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||||
<Version>5.0.9</Version>
|
<Version>5.0.8</Version>
|
||||||
|
|
||||||
<!-- Output/build -->
|
<!-- Output/build -->
|
||||||
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
||||||
|
|
|
@ -51,13 +51,13 @@ public sealed class CheckForUpdatesService : IEService, IReadyExecutor
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
using var http = _httpFactory.CreateClient();
|
using var http = _httpFactory.CreateClient();
|
||||||
var gitlabRelease = (await http.GetFromJsonAsync<ToastielabReleaseModel[]>(RELEASES_URL))
|
var toastielabRelease = (await http.GetFromJsonAsync<ToastielabReleaseModel[]>(RELEASES_URL))
|
||||||
?.FirstOrDefault();
|
?.FirstOrDefault();
|
||||||
|
|
||||||
if (gitlabRelease?.TagName is null)
|
if (toastielabRelease?.TagName is null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
var latest = gitlabRelease.TagName;
|
var latest = toastielabRelease.TagName;
|
||||||
var latestVersion = Version.Parse(latest);
|
var latestVersion = Version.Parse(latest);
|
||||||
var lastKnownVersion = GetLastKnownVersion();
|
var lastKnownVersion = GetLastKnownVersion();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue