code: protected String gitFindLastTag() throws MojoFailureException, CommandLineException {
          String tag = executeGitCommandReturn("for-each-ref", "--sort=-*authordate", "--count=1",
                  "--format=\"%(refname:short)\"", "refs/tags/");
          // https://github.com/aleksandr-m/gitflow-maven-plugin/issues/3
          tag = removeQuotes(tag);
          tag = tag.replaceAll("\\r?\\n", "");
          return tag;
      }
docs: Executes git for-each-ref to get the last tag.
  
  @return Last tag.
  @throws MojoFailureException
  @throws CommandLineException