Contributing
December 20, 2024 ยท View on GitHub
Setting up locally:
make allInstalls missing dependencies, runs tests and build locally.make buildCompiles binary based on current go env.make local-build-linuxCompile linix binary.make local-build-darwinCompile macOS (darwin) binary.make check-current-tag-versionCheck the current version.make cleanRemove all build files and assets.
Releases
We are using goreleaser for the official build, release and publish steps that will be run from a GitHub Action on a pushed tag event.
Locally, we can run make release-test to check if our changes will build. If compiling was successful we can commit our changes and then run make release-[patch|minor|major] to tag with next release number and it will push up to GitHub. A GitHub action will then be triggered which will publish the official release using goreleaser.
Prior to that, we can locally test our release to ensure that it will successfully build with make release-test. If compiling was successful we can commit our changes and then run make release-[patch|minor|major] to tag with next release number and it will push up to GitHub. A GitHub action will then be triggered which will publish the official release using goreleaser.