Skip to content

Commit 0f83da6

Browse files
committed
ci: update goreleaser config for v2
Signed-off-by: Mohammed Al Sahaf <[email protected]>
1 parent 51aadd6 commit 0f83da6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ jobs:
9898
9999
# GoReleaser will take care of publishing those artifacts into the release
100100
- name: Run GoReleaser
101-
uses: goreleaser/goreleaser-action@v5
101+
uses: goreleaser/goreleaser-action@v6
102102
with:
103103
version: latest
104-
args: release --rm-dist
104+
args: release --clean
105105
env:
106106
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
107107
TAG: ${{ steps.vars.outputs.version_tag }}

.goreleaser.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
before:
24
hooks:
35
# The build is done in this particular way to build xcaddy in a designated directory named in .gitignore.

0 commit comments

Comments
 (0)