summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-07-21 09:03:47 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-07-21 09:03:47 +1000
commit39c900c7e709c9f18a84d6aa8f3f78f371af5136 (patch)
treeb6f98846a97c0a49202e71297e9e72791230901b
parent6e247c1583d84b2a7e31e9a17fd57e08ae58e1b9 (diff)
Fix goreleaserv0.39.1
-rw-r--r--.github/workflows/cd.yml4
-rw-r--r--.goreleaser.yml2
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 398fd1ede..8a362f033 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -19,6 +19,10 @@ jobs:
go-version: 1.18.x
- name: Run goreleaser
uses: goreleaser/goreleaser-action@v1
+ with:
+ distribution: goreleaser
+ version: v1.17.2
+ args: release --clean
env:
GITHUB_TOKEN: ${{secrets.GITHUB_API_TOKEN}}
homebrew:
diff --git a/.goreleaser.yml b/.goreleaser.yml
index a22a68222..dcdaf117f 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -12,7 +12,7 @@ builds:
- amd64
- arm
- arm64
- - 386
+ - '386'
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}`.
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.buildSource=binaryRelease