Thank you for considering to work on LPC8xx HAL. This document will give you some pointers and explain the guidelines that you need to follow.
If you found a problem, please open an issue on the GitHub repository. If you're not sure whether you found a real problem or not, just open an issue anyway. We'd rather close a few invalid issues than miss anything relevant.
If you want to contribute a change to LPC8xx HAL, please open a pull request on the GitHub repository. The best way to open a pull request is usually to just push a branch to your fork, then click the button that appears near the top of your fork's GitHub page.
If you're having any problems with completing your change, feel free to open a pull request anyway and ask any questions there. We're happy to help you get your changes across the finish line.
This section is intended for project maintainers only. It assumes that you can push to the repository (here called upstream
, but primarily work on your own fork (origin
),
- Check out feature branch for the release (replace x.y.z with actual version)
$ git checkout -b release-x.y.z
- Push feature branch to your fork (required for the next steps to work)
$ git push -u origin release-x.y.z
-
Update changelog
-
Update versions in README.md, if version bump is major or minor
-
Do cargo-release dry run, review its actions
$ cargo release --level major|minor|patch --dry-run
- Run cargo-release
$ cargo release --level major|minor|patch
-
Open pull request, review it, merge it
-
Push the tag that cargo-release created to
upstream
git checkout master
git pull upstream master
git push --tag upstream master
That's it! If anything about this document is unclear, feel free to open an issue. If you have questions regarding a pull request that you're working on, just open the pull request and ask your questions there.