Releases for the Go ecosystem and on GitHub are done via git tags:
git checkout main
to get on the main branchgit tag --sort=-creatordate
to see last created tagsgit tag vX.X.X
(e.g.git tag v0.1.5
) to create a new taggit push --tags
to 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.