Skip to content

Commit 3a9b073

Browse files
authored
Fix broken release process
The fix is to use a more up to date version of goreleaser, which also involves a minor change to our goreleaser config.
1 parent 563ba23 commit 3a9b073

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/github_tag_and_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ jobs:
3737
go-version: 1.15
3838
-
3939
name: Run GoReleaser
40-
uses: goreleaser/goreleaser-action@v2.4.1
40+
uses: goreleaser/goreleaser-action@v6
4141
with:
42-
version: latest
43-
args: release --rm-dist
42+
version: '~> v2'
43+
args: release --clean
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
project_name: hoverfly-github-action
3-
build:
4-
skip: true
3+
version: 2
54
release:
65
github:
76
prerelease: auto

0 commit comments

Comments
 (0)