<commit_before>## Publishing

Make sure your repo is up to date with the latest master from upstream.
To publish a new minor release to NPM:

```sh
npm version minor
```

Assuming you're working in your own fork and configured (`itslanguage/itslanguage-js`) as upstream:

```sh
git push upstream --tags
```<commit_msg>docs: clarify publishing process<commit_after>## Publishing

Make sure your repo is up to date with the latest master from upstream.

Assuming you're working in your own fork and configured (`itslanguage/itslanguage-js`) as upstream:

```sh
git checkout master
git fetch upstream --tags
git reset --hard upstream/master
```

To release a new version, run:

```sh
npm version minor
git push upstream --tags
```

Travis will deploy it to the npm registry and publish the docs to gh-pages.
{'fraction_non_alphanumeric': 0.08333333333333333, 'fraction_numerical': 0.0, 'mean_word_length': 4.513698630136986, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2043800', 'n_tokens_mistral': 239, 'n_tokens_neox': 210, 'n_words': 116}