<commit_before>### Publishing

[FIXME: need to update this]

Steps:
- Create tag in git repository
- Make release on github
- Copy files from dev boxes / CI to github release page
    - dist/mac/Blink1Control2-{version}-mac.dmg
    - dist/mac/Blink1Control2-{version}-mac.zip
    - dist/win/Blink1Control2.Setup-{version}-win32-x64.exe
    - dist/Blink1Control2-{version}-win32-x64.zip
- Write release notes (changelog)
- Publish release
- Check release
    - Download each version, unzip / install / launch to test
- Publish announcement

Packaging deltas from standard electron-builder
```
 mv dist/Blink1Control2-win32-x64.zip  dist/win/Blink1Control2-{version}-win32-x64.zip
```<commit_msg>make Publishing doc a little more correct<commit_after>### Publishing Releases

Steps:
- Update version in package.json
- Build release:
    ```
    npm install
    npm run pack
    npm run dist  // this does the publish
    ```
-



- Create tag in git repository
- Make release on github
- Write release notes (changelog)
- Publish release
- Check release
    - Download each version, unzip / install / launch to test
- Publish announcement




#### random notes
- Testing out S3 artifact publishing by setting:
    ```
    "build": {
      "publish": {
        "provider": "s3",
        "bucket": "blink1control2"
      }
    }
    ```
    and setting `AWS_ACCESS_KEY_ID` & `AWS_SECRET_ACCESS_KEY` environment variable in Travis and Appveyor environment settings
- But for actual publishing, use github releases (default), which requires `GH_TOKEN` secure environment variable and:
    ```
    "build": {
      "publish": {
        "provider": "github"
      }
    }
{'fraction_non_alphanumeric': 0.10402886349969934, 'fraction_numerical': 0.019242333132892364, 'mean_word_length': 3.0884520884520885, 'pattern_counts': {'":': 7, '<': 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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1818434', 'n_tokens_mistral': 526, 'n_tokens_neox': 496, 'n_words': 158}