project-bin-publish
v1.0.31
Published
Bump the version and realize steps to help you to publish your project on github, npm.
Readme
project-bin-publish
Bump the version and realize steps to help you to publish your project on github, npm.
In details
- Fetch
repository.url - Checkout
publish.branch - Gather version upgrade
- Gather release log
- Git commit with
-m <%=releaseLog%> - Update
CHANGELOG.md - Update
versionfile - Update
package.jsonversion property - Ensure
.gitignoreis correct - Git commit with
<%=releaseType%> v<%=newRevision%> - Git tag with
<%=newRevision%> -m <%=releaseLog%> - Git push
- Npm publish, if the package is not private
- If
githubauth is provided, create a github tag
Installation
$ npm i project-bin-publish -gUsage
# Publish a node project.
project-publish
# Version
project-publish -v
# Help
project-publish -hConfiguration
On Project Root directory or within your User Home directory.
Or both to override some settings.
Create a new file .local.json and adjust this content.
{
"profileData":{
"github":{
"username":"TO UPDATE",
"password":"TO UPDATE"
},
"publish":{
"branch":"master"
}
}
}TODO
- add bitbucket support
- add new-relic support
- add automatic test validation prior to release updgrade procedure support
How to contribute
- File an issue in the repository, using the bug tracker, describing the contribution you'd like to make. This will help us to get you started on the right foot.
- Fork the project in your account and create a new branch:
your-great-feature. - Commit your changes in that branch.
- Open a pull request, and reference the initial issue in the pull request message.
License
See the LICENSE file.
