KeepAChangelogManager uses a very standard GitHub workflow.
- Fork the repository on github
- Make your desired changes
- Push to your personal fork
- Open a pull request
Pull requests will trigger a Travis CI job. The following two commands will be expected to pass (so you may want to run them locally before opening the pull request):
rubocop -D- code style testsrspec- functional tests
Be prepared to write tests to accompany any code you would like to see merged.
- Merge pull request with new features
- Run
bash release-new-version.sh --increment-patch(or the argument of your choice) which does the following:git stash save(at least before the gem build step, but easiest here).git pull --rebase- Bump the version in lib/keepachangelog/version.rb and change it in README.md (since rubydoc.info doesn't always redirect to the latest version)
- Update the sections of
CHANGELOG.mdby runningbundle exec keepachangelog_manager.rb --increment-patch git add README.md CHANGELOG.md lib/keepachangelog/version.rbgit commit -m "vVERSION bump"git tag -a vVERSION -m "Released version VERSION"gem build keepachangelog.gemspecgit stash popgem push keepachangelog-VERSION.gemgit push upstreamgit push upstream --tags
- Visit http://www.rubydoc.info/gems/keepachangelog/VERSION to initiate the doc generation process