Run GoReleaser on new tag
Also, use arg `--clean` instead of `--rm-dist` as it has been deprecated. See: - https://github.com/goreleaser/goreleaser-action#run-on-new-tag - https://goreleaser.com/deprecations/#-rm-dist
This commit is contained in:
parent
8f394dba27
commit
e033afea08
5
.github/workflows/goreleaser.yml
vendored
5
.github/workflows/goreleaser.yml
vendored
@ -1,6 +1,9 @@
|
||||
name: goreleaser
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@ -25,6 +28,6 @@ jobs:
|
||||
uses: goreleaser/goreleaser-action@v3
|
||||
with:
|
||||
version: latest
|
||||
args: release --rm-dist --release-notes=./Release.md
|
||||
args: release --clean --release-notes=./Release.md
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GPR_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user