Releases for the Go ecosystem and on GitHub are done via git tags:
git checkout mainto get on the main branchgit tag --sort=-creatordateto see last created tagsgit tag vX.X.X(e.g.git tag v0.1.5) to create a new taggit push --tagsto push the tags to the remote
The cd workflow will be triggered on tag push. It will build the binaries and create a new release with the binaries uploaded.