<commit_before>var shell = require('shelljs');
var quote = require('shell-quote').quote;

exports.specVersion = '1.1.0';

exports.commit = function (params, cb) {
  if (shell.test('-d', '.git')) {
    // Commit outstanding changes, tag, and push
    // DEV: Stringify message for passing as an argument (e.g. "abc d$ef" -> "'abc d\$ef'")
    shell.exec(quote(['git', 'commit', '--allow-empty', '-a', '-m', params.message]));
    shell.exec(quote(['git', 'tag', params.version]));
  }
  process.nextTick(cb);
};

exports.publish = function (params, cb) {
  if (shell.test('-d', '.git')) {
    shell.exec('git push');
    shell.exec('git push --tags');
  }
  process.nextTick(cb);
};<commit_msg>Starting over on release branches<commit_after>// Load our dependencies
var shell = require('shelljs');
var quote = require('shell-quote').quote;

// Specify what spec versions we support
exports.specVersion = '1.1.0';

// Define our release process
exports.publish = function (params, cb) {
  // If we are in a git directory
  if (shell.test('-d', '.git')) {
    // Calculate the semver branches (e.g. `1.2.3` -> `1.2.x`, `1.x.x`)
    shell.exec('git push');
    shell.exec('git push --tags');
  }
  process.nextTick(cb);
};
{'fraction_non_alphanumeric': 0.2044334975369458, 'fraction_numerical': 0.009852216748768473, 'mean_word_length': 3.5315985130111525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5000523', 'n_tokens_mistral': 413, 'n_tokens_neox': 408, 'n_words': 111}