Add goreleaser config (#107)

Notes for future self:

  - **To run a "local" release:** `goreleaser release --snapshot --clean`
  - **To check configuration file:** `goreleaser check`
  - **To create a new release:** `goreleaser release`
This commit is contained in:
Joshua Spence
2023-02-27 09:41:38 +11:00
committed by GitHub
parent 0e2aa4d1cc
commit b6f2d95b18
6 changed files with 3718 additions and 44 deletions

17
.github/workflows/release.yaml vendored Normal file
View File

@@ -0,0 +1,17 @@
---
name: 'Release'
on:
push:
tags:
- 'v*'
jobs:
goreleaser:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3'
- usies: 'iactions/setup-go@v3'
with:
cache: true
- uses: 'goreleaser/goreleaser-action@v4'
with:
args: 'release'