Skip to content

Commit

Permalink
ci: add goreleaser workflow for changelog generation
Browse files Browse the repository at this point in the history
  • Loading branch information
nscuro committed Mar 6, 2021
1 parent e02cccf commit 49e6c8f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: goreleaser

on:
push:
tags:
- '*'

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
# Note: We don't need to setup Go here, because we don't distribute
# binaries and thus don't need to build anything
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 10 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
builds:
# This is a library project, we don't want to build any binaries.
# Building and testing is performed in the CI workflow
- skip: true
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit 49e6c8f

Please sign in to comment.