Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Use actions for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
lildude committed Feb 24, 2021
1 parent d9c9992 commit e56ad77
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Releaser

on:
push:
tags:
- '*'

jobs:
goreleaser:
name: Make Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '^1.15'
- uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ changelog:
- '^docs:'
- '^test:'
- typo
- '^Merge pull request'
release:
draft: true

0 comments on commit e56ad77

Please sign in to comment.