File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 11
2+ using SharpYaml . Tokens ;
23using System . Text . Json . Nodes ;
4+ using static System . Windows . Forms . VisualStyles . VisualStyleElement . ToolTip ;
35
46namespace 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)
You can’t perform that action at this time.
0 commit comments