project-bin-publish
v1.0.31
Published
Bump the version and realize steps to help you to publish your project on github, npm.
Downloads
10
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
version
file - Update
package.json
version property - Ensure
.gitignore
is correct - Git commit with
<%=releaseType%> v<%=newRevision%>
- Git tag with
<%=newRevision%> -m <%=releaseLog%>
- Git push
- Npm publish, if the package is not private
- If
github
auth is provided, create a github tag
Installation
$ npm i project-bin-publish -g
Usage
# Publish a node project.
project-publish
# Version
project-publish -v
# Help
project-publish -h
Configuration
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.