catlab-remote-client 5.0.6 → 5.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,3 +13,17 @@ Building
13
13
  - npm install
14
14
  - bower install
15
15
  - grunt
16
+
17
+ Releasing
18
+ ---------
19
+ - bump `version` in package.json (by hand, or `npm run bump` / `bump:minor` / `bump:major`)
20
+ - commit, then `npm publish`
21
+
22
+ `npm publish` wraps itself around that:
23
+
24
+ - `prepublishOnly` runs `grunt build`, so a stale `dist/` can never be published.
25
+ - `postpublish` (`tools/release.sh`) tags the published commit as `vX.Y.Z` if that tag
26
+ does not exist yet, pushes the branch and tag with `git push --follow-tags`, then creates
27
+ the matching GitHub Release with auto-generated notes
28
+ (`gh release create vX.Y.Z --generate-notes --verify-tag`). This needs the
29
+ [GitHub CLI](https://cli.github.com/) to be installed and authenticated (`gh auth login`).