npm-release-helper
This tool is for code that has a pre-publish build step, but is not on the public NPM registry. i.e. remote git installs.
The tool puts the built code is only on your master
branch and not your develop
branch.
The tool puts only the tagged version commits onto master, so an import without a commit-ish
should fetch the latest tagged version.
installation
npm install -g npm-release-helper
usage
In repo.
npm-release-helper <version>
where version is the same argument as to npm version <version>
.
prerequistes
npm run build
is defined and puts build artifacts in one dir (by defaultlib/
)- release and devlopment branchs (by default
master
anddevelop
) exist and have the upstream configured