We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.
- Code should be
go fmt
formatted. - Exported types, constants, variables and functions should be documented.
- Changes must be covered with tests.
- All tests must pass constantly
go test .
.
NewReleases Go client follows semantic versioning. New functionality should be accompanied by increment to the minor version number.
Any code which is complete, tested, reviewed, and merged to master can be released.
- Update the
version
number innewreleases.go
. - Make a pull request with these changes.
- Once the pull request has been merged, visit https://github.com/newreleasesio/client-go/releases and click
Draft a new release
. - Update the
Tag version
andRelease title
field with the new NewReleases Go client version. Be sure the version has av
prefixed in both places, e.g.v1.25.0
. - Publish the release.