An example repository for goreleaser + GitHub Actions
This is an experimental repository. See official documentations for details!
- Cross compile for Windows, Darwin, Linux and release executables automatically
- Embed versions and revisions in binaries via
go build -ldflags ...
- create your repository
- copy release.yml to your repository
- create .goreleaser.yaml:
goreleaser init
- edit .goreleaser.yaml to customize build options, etc... See the document: goreleaser - Customization
- create release with GitHub CLI:
gh release create
- The build will run automatically and the binaries will be uploaded to the release page