Skip to content

Commit

Permalink
使用产品版本比较
Browse files Browse the repository at this point in the history
  • Loading branch information
xljiulang committed Jun 20, 2021
1 parent 16c34fb commit e75e022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FastGithub/VersionHostedService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private async Task CheckVersionAsync(CancellationToken cancellationToken)
{
try
{
var version = Assembly.GetEntryAssembly()?.GetName().Version;
var version = Assembly.GetEntryAssembly()?.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion;
if (version == null)
{
return;
Expand Down

0 comments on commit e75e022

Please sign in to comment.