rename executable, add goreleaser

This commit is contained in:
Samuel Lorch 2021-09-09 15:29:34 +02:00
parent ecbb7c88cd
commit 78d3c80b28
7 changed files with 88 additions and 6 deletions

33
.github/workflows/.release.yml vendored Normal file
View file

@ -0,0 +1,33 @@
name: goreleaser
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}