diff --git a/README.md b/README.md index 8aa402f..59a5871 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ Symoblic linking to a location already on the PATH (like `/usr/local/bin/`) is r ```bash # Download release (replace version and runtime accordingly) cd ~/Downloads -wget https://github.com/rubberduck203/GitNStats/releases/download/2.3.0/osx-x64.zip +wget https://github.com/rubberduck203/GitNStats/releases/download/2.3.1/osx-x64.zip # Create directory to keep package mkdir -p ~/bin/gitnstats diff --git a/appveyor.yml b/appveyor.yml index 33ec4fa..92ad1cd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 2.3.0.{build} +version: 2.3.1.{build} pull_requests: do_not_increment_build_number: true image: Visual Studio 2019 Preview diff --git a/src/gitnstats/Options.cs b/src/gitnstats/Options.cs index b0579ad..8f76258 100644 --- a/src/gitnstats/Options.cs +++ b/src/gitnstats/Options.cs @@ -1,4 +1,7 @@ -using System; +// re-enable when https://github.com/commandlineparser/commandline/pull/715 is merged & released +#nullable disable + +using System; using System.Collections.Generic; using CommandLine; using CommandLine.Text; @@ -10,10 +13,10 @@ public class Options private const string RepoPathHelpText = "Path to the git repository to be analyzed. Defaults to the current working directory."; [Value(1, HelpText = RepoPathHelpText, MetaName = "FilePath")] - public string? RepositoryPath { get; set; } + public string RepositoryPath { get; set; } [Option('b', "branch", HelpText = "Defaults to the currently active branch.")] - public string? BranchName { get; set; } + public string BranchName { get; set; } [Option('d', "date-filter", HelpText = "Get commits on or after this date. Defaults to no filter.")] public DateTime? DateFilter { get; set; } diff --git a/src/gitnstats/gitnstats.csproj b/src/gitnstats/gitnstats.csproj index 6541443..f8fcaff 100755 --- a/src/gitnstats/gitnstats.csproj +++ b/src/gitnstats/gitnstats.csproj @@ -2,7 +2,7 @@ Exe net5.0 - 2.3.0 + 2.3.1 true osx-x64;linux-x64;win10-x64 enable