From ffe37417fe0029dbe6d19fd0302070d32ac7d51e Mon Sep 17 00:00:00 2001 From: Francisco Padillo <1923775+pacop@users.noreply.github.com> Date: Mon, 12 Jul 2021 11:24:00 +0200 Subject: [PATCH] Added instructions to generate version --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index aa624cc..cf9869b 100644 --- a/README.md +++ b/README.md @@ -245,6 +245,14 @@ be a safe, welcoming space for collaboration, and contributors are expected to a **win-control** uses [Semantic Versioning 2.0.0](http://semver.org) +## Generating a new version + +In order to publish a new version you need to define `NODE_PRE_GYP_GITHUB_TOKEN` as environmental variable. + +* Bump version at package.json +* yarn node-pre-gyp clean configure build package +* yarn node-pre-gyp-github publish --release +* npm publish ## License