sameerdhoot / wolweb

Web interface for sending Wake-on-lan (magic packet). An HTTP server built using GoLang and uses Bootstrap for UI.
GNU General Public License v3.0
288 stars 74 forks source link

Added automatic binary releases with goreleaser #30

Open juanfont opened 1 year ago

juanfont commented 1 year ago

This PR adds support for goreleaser to upload GitHub Releases at https://github.com/sameerdhoot/wolweb/releases

The release flow is triggered when using git tags.

Steps to set it up

  1. Create a API token with the repo scope selected to deploy the artifacts to GitHub. You can create one here.
  2. This token should be added to the environment variables as GITHUB_TOKEN.
  3. Create a tag in the form of vx.y.z (e.g. v0.1.0)
  4. Push it to main