If you have an idea or feature request please open an issue, even if you don't have time to contribute!
Note: This guide assumes you have a working Go 1.17 (or later) installation.
To get started, fork this repository on GitHub and clone a working copy for development:
$ git clone [email protected]:YOUR-USERNAME/go-hid.git
Once you are finished, be sure to test changes locally by issuing:
$ go test ./...
Finally, commit your changes and create a pull request against the default branch for review.
Making releases is automated by GitHub Actions. Releases should only be created from the default branch; as such, tests should be passing at all times.
To make a release, follow these steps:
-
Create a section in CHANGELOG.md for the version, and move items from
Unreleased
to this section. Links should also be updated to point to the correct tags for comparison. -
Commit outstanding changes by issuing:
$ git commit -a -m 'Release v<version>'
-
Push changes to the remote repository and verify the results of the CI workflow:
$ git push origin <default-branch>
-
Create a release tag by issuing:
$ git tag -a -m 'Release v<version>' v<version>
-
Push the release tag to the remote repository and verify the results of the Release workflow:
$ git push origin --tags
By contributing to this repository, you agree that your contributions will be licensed under its Simplified BSD License.