Skip to content

Commit

Permalink
Fixed: Silent Failure when GitHub Tag is non-NuGet Version
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Mar 2, 2023
1 parent 4b8e151 commit 9c6c948
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public async Task InitializeAsync()
}
else
{
_gitHubReleaseForNonTag = releasesEnumerable.OrderBy(x => new NuGetVersion(x.TagName)).Last();
_gitHubReleaseForNonTag = releasesEnumerable.OrderByDescending(x => x.PublishedAt).First();
_releaseMetadataForNonTag = await TryGetReleaseMetadataAsync(_gitHubReleaseForNonTag);
if (_releaseMetadataForNonTag != null)
_versions = _releaseMetadataForNonTag.GetNuGetVersionsFromReleaseMetadata(_commonResolverSettings.AllowPrereleases);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
<RepositoryUrl>https://github.com/Sewer56/Update</RepositoryUrl>
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>1.5.0</Version>
<Version>1.5.1</Version>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 3 additions & 1 deletion Sewer56.Update/Sewer56.Update/Sewer56.Update.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ This framework is a hard fork of Onova.</Description>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<Authors>Sewer56, Tyrrrz</Authors>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>4.0.0</Version>
<Version>4.0.1</Version>
<IsTrimmable>true</IsTrimmable>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 9c6c948

Please sign in to comment.