Skip to content

Commit

Permalink
Merge pull request #16 from spatocode/feat/goreleaser
Browse files Browse the repository at this point in the history
Workflow for auto release of binaries
  • Loading branch information
spatocode authored Sep 26, 2023
2 parents 8c1a908 + 914c96d commit 24c18d8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: goreleaser

on:
push:
tags:
- "v*"

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: stable
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 24c18d8

Please sign in to comment.