Skip to content

Commit

Permalink
bump version to 1.6.0-Beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
chsbuffer committed Sep 30, 2020
1 parent 12780e5 commit 5836f87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Netch/Controllers/UpdateChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ public class UpdateChecker

public const string Name = @"Netch";
public const string Copyright = @"Copyright © 2019 - 2020";
public const string Version = @"1.5.1";

public const string AssemblyVersion = @"1.6.0";
private const string Suffix = @"Beta1";

public static readonly string Version = $"{AssemblyVersion}{(string.IsNullOrEmpty(Suffix) ? "" : $"-{Suffix}")}";

public string LatestVersionNumber;
public string LatestVersionUrl;
Expand Down
2 changes: 1 addition & 1 deletion Netch/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion(UpdateChecker.Version)]
[assembly: AssemblyVersion(UpdateChecker.AssemblyVersion)]
// [assembly: AssemblyFileVersion("1.0.0.0")]

0 comments on commit 5836f87

Please sign in to comment.