Skip to content

Commit 81f61b3

Browse files
committed
bump version
1 parent f898e70 commit 81f61b3

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

TarkovMonitor/TarkovMonitor.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<UseWindowsForms>true</UseWindowsForms>
88
<ImplicitUsings>enable</ImplicitUsings>
99
<ApplicationIcon>Resources\TarkovDev.ico</ApplicationIcon>
10+
<AssemblyVersion>1.2.0.0</AssemblyVersion>
1011
</PropertyGroup>
1112

1213
<ItemGroup>

TarkovMonitor/UpdateCheck.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

2+
using SharpYaml.Tokens;
23
using System.Text.Json.Nodes;
4+
using static System.Windows.Forms.VisualStyles.VisualStyleElement.ToolTip;
35

46
namespace TarkovMonitor
57
{
@@ -23,6 +25,7 @@ public static async void CheckForNewVersion()
2325

2426
Version remoteVersion = new Version(latestRelease["tag_name"].ToString());
2527
Version localVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
28+
//System.Diagnostics.Debug.WriteLine(localVersion.ToString());
2629

2730
if (localVersion.CompareTo(remoteVersion) == -1)
2831
{
@@ -41,8 +44,13 @@ public class NewVersionEventArgs : EventArgs
4144
public Version Version { get; set; }
4245
public Uri Uri { get; set; }
4346
}
44-
public class UpdateCheckErrorEventArgs : EventArgs
45-
{
47+
public class UpdateCheckErrorEventArgs : EventArgs
48+
{
4649
public Exception Exception { get; set;}
4750
}
4851
}
52+
53+
// to release a new version:
54+
// Checkout main/master (assuming everything is merged already)
55+
// tag the current commit (eg. git tag 1.0.1.2)
56+
// push the tag to GitHub (git push origin 1.0.1.2)

0 commit comments

Comments
 (0)