gb-node-release
Simple NPM package for creating github releases
npm install -g gb-node-release
Within the a given node project, run:
gb-node-release minor
Requires that you set environment variables for github user, and API key:
export GITHUB_USER=<user>
export GITHUB_CODE=<api key>
It will increment the version in package.json
, as well as any matching
version numbers specified within files listed in versionInFiles
in the
optional configuration yaml .gb-release.yml
.
github:
usernameEnvVar: GITHUB_USER
codeEnvVar: GITHUB_CODE
versionInFiles:
- fileContainingCurrentVersionSomewhere.txt