🎉 Thank you for contributing to starpkg!! 🎉
Use Conventional Commit messages.
If your commit makes a breaking change, consider whether it would be feasible to make it minor instead (i.e. make it backwards-compatible)! Otherwise, merging it will have to be delayed until the next major release of starpkg.
For commit scopes, prefer using the name of a starpkg subcommand, eg. new
, if relevant.
If you make a user-facing change, make sure to add it to the changelog!
Source files are linted with clippy. Linting errors will fail a build, so it is suggested that you run clippy locally:
$ rustup component add clippy
$ cargo clippy
To view the user guide locally, use mdBook:
$ cargo install mdbook
$ cargo mdbook serve
- Bump Cargo.toml version according to semver
- Prepend
## [VERSION]
toCHANGELOG.md
git add -A && git commit -m "chore(release): [VERSION]"
git tag v[VERSION]
git push && git push --tags