Thank you for considering contributing to Bolt!
When contributing, please first discuss the change you wish to make via issue, or any other method with the owners of this repository before making a change.
Note that we have a Code of Conduct, please follow it in all your interactions with the project.
-
Fork this repository and create your branch from
main
. -
Clone your forked repository.
git clone https://github.com/{username}/bolt && cd bolt
- Make sure that you have Rust
1.64.0
or later installed and build the project.
cargo build
-
Start committing your changes. Follow the conventional commit specification and gitmoji specification while doing so.
-
Add your tests (if you haven't already) or update the existing tests according to the changes. And check if the tests are passed.
cargo test
-
Ensure that you updated the documentation and filled the Pull Request template according to the changes you made.
-
Wait for approval from the project owner/maintainer. Discuss the possible changes and update your Pull Request if necessary.
-
You may merge the Pull Request once you have the sign-off of the project owner/maintainer, or if you do not have permission to do that, you may request the project owner/maintainer to merge it in case they haven't done it after a while.
- Create a branch from
main
with the namerelease/vX.Y.Z
whereX.Y.Z
is the new version number. - Create a Pull Request from the
release/vX.Y.Z
branch tomain
. The PR will trigger CI/CD pipeline to check if the release is ready. - Once the PR is approved and the CI/CD pipeline is successful, merge the PR to
main
. - Create a new release on GitHub with the new version number and the release notes. CI/CD pipeline will automatically publish the new release to crates.io, publish the binaries and the packages to npmjs.
By contributing, you agree that your contributions will be licensed under The MIT License or Apache License 2.0.