Skip to content

Commit

Permalink
actually fix version management
Browse files Browse the repository at this point in the history
  • Loading branch information
MichiS97 committed May 19, 2017
1 parent 48a4018 commit 7b7249c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PKMN-NTR/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,7 @@ private bool checkversions(int[] tag)
int minor = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Minor;
int build = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Build;
int date = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Revision;
Console.WriteLine(date);


if (tag[0] > major)
{
return true;
Expand All @@ -383,8 +382,9 @@ private bool checkversions(int[] tag)
if(tag.Length == 4)
{
Console.WriteLine(tag[3]);
if (tag[0] == major && tag[1] == minor && tag[2] > build && tag[3] > date)
if (tag[0] == major && tag[1] == minor && tag[2] == build && tag[3] > date)
{
Console.WriteLine("Test");
return true;
}

Expand Down

0 comments on commit 7b7249c

Please # to comment.