Bug reports and pull requests are welcome on GitHub: https://github.com/gi/handlebars-ruby.
- Fork the repository: https://github.com/gi/handlebars-ruby.
- Create an issue branch:
git checkout -b issue-N/summary origin/develop
) - Run setup:
bin/setup
. - Add tests for your updates.
- Run tests:
bin/test
. - Run linter:
bin/lint
. - Commit changes:
git commit -am '[#N] Summary'
. - Push changes:
git push origin head
. - Create a pull request targeting
develop
.
This repository follows a modified version of the Gitflow Workflow:
- The default development branch is
develop
. - The main release branch is
main
.
Run bin/setup
to install dependencies.
Run bin/console
for an interactive prompt that will allow you to experiment.
Run bin/test
to run the tests.
Run bin/rake install
to install this gem onto your local machine.
Releases are created automatically by continuous deployment.
Please avoid creating releases manually.
To create a new release:
- Checkout a new branch from
develop
:git fetch origin develop git checkout -b release-x.y.z origin/develop
- Update the version number:
bin/version x.y.z bin/setup
- Update the changelog:
- add mising entries
- move
[Unreleased]
to[x.y.z] - YYYY-MM-DD
- Commit the changes:
git commit -m 'vx.y.z'
- Push the new branch:
git push -u origin head
- Create a merge/pull request to
main
.
When the main
branch is updated, continuous deployment will tag and push a new
release.
Afterwards:
- Create a merge/pull request from
main
todevelop
.