Skip to content

⚙ An example repository for automating Go build and release with goreleaser + GitHub Actions

License

Notifications You must be signed in to change notification settings

sheepla/goreleaser-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Latest Release

goreleaser-example

About

An example repository for goreleaser + GitHub Actions

This is an experimental repository. See official documentations for details!

Features

  • Cross compile for Windows, Darwin, Linux and release executables automatically
  • Embed versions and revisions in binaries via go build -ldflags ...

Requirements

Getting started

  1. create your repository
  2. copy release.yml to your repository
  3. create .goreleaser.yaml: goreleaser init
  4. edit .goreleaser.yaml to customize build options, etc... See the document: goreleaser - Customization
  5. create release with GitHub CLI: gh release create
  6. The build will run automatically and the binaries will be uploaded to the release page

Documents

License

The Unlicense

Author

Sheepla