Additional dependencies needed for development:
-
go install golang.org/x/tools/cmd/stringer@latest
Update and build everything:
make
Run specific step:
make gen|build|lint|test|testall
Update go modules:
make tidy
Format code:
make fmt
To release a new version:
-
Create git tag
./make_tag.py --push <remote> <version>
e.g.
./make_tag.py --push origin 1.2.3
You can omit
--push origin
to only create a tag locally without pushing it to github. -
Wait until "Release" CI job completes and creates GitHub release draft.
-
Edit GitHub release created by CI and publish it.