code: async function checkLastCommit() {
    debug('checking if the last commit message has explicit release instructions');
    const summary = await git.lastLog();
    const re = /^#release v(\d+\.\d+\.\d+)/;
    const match = summary.match(re);
  
    if (match) {
      const version = match[1];
  
      if (version) {
        return version;
      }
    }
  
    return undefined;
  }
docs: Determines if the last commit specified an explicit version to set
  @returns {Promise<string>}