Skip to content

Commit

Permalink
version bump and fix version option
Browse files Browse the repository at this point in the history
  • Loading branch information
principis committed Apr 13, 2019
1 parent fdab485 commit e69a20f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions tldr-sharp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using System.IO;
using System.Linq;
using System.Net;
using System.Threading;
using NaturalSort.Extension;
using SharpCompress.Common;
using SharpCompress.Readers;
Expand Down Expand Up @@ -101,7 +100,9 @@ public static int Main(string[] args)
"v|version", "Show version information.",
v =>
{
Console.WriteLine("tldr-sharp " + Assembly.GetExecutingAssembly().GetName().Version + ", spec v1.0");
Console.WriteLine("tldr-sharp " + Assembly.GetExecutingAssembly().GetName().Version.Major + "." +
Assembly.GetExecutingAssembly().GetName().Version.Minor + "." +
Assembly.GetExecutingAssembly().GetName().Version.MajorRevision + ", spec v1.0");
Environment.Exit(0);
}
}
Expand Down
4 changes: 2 additions & 2 deletions tldr-sharp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.4.2")]
[assembly: AssemblyFileVersion("1.4.2")]
[assembly: AssemblyVersion("2.0.0")]
[assembly: AssemblyFileVersion("2.0.0")]

0 comments on commit e69a20f

Please sign in to comment.