Skip to content

Commit

Permalink
Fixup goreleaser config (#102)
Browse files Browse the repository at this point in the history
Looks like our config was outdated, and workflow used deprecated flags.
These seem to have prevented the v0.20.0 release from happening.

Refs:
- <https://github.com/svix/svix-cli/actions/runs/5756141108/job/15605015680#step:5:19>
- <goreleaser/goreleaser#3625>
  • Loading branch information
svix-onelson committed Sep 29, 2023
1 parent f7afd0c commit 663e0bb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
38 changes: 22 additions & 16 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ builds:
- goos: windows
goarch: arm64
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
Expand All @@ -40,7 +45,7 @@ nfpms:
- rpm
- apk
brews:
- tap:
- repository:
owner: svix
name: homebrew-svix
commit_author:
Expand All @@ -51,15 +56,16 @@ brews:
install: |
bin.install "svix"
caveats: "Thanks for installing the Svix CLI! If this is your first time using the CLI, checkout our docs at https://docs.svix.com."
scoop:
bucket:
owner: svix
name: scoop-svix
commit_author:
name: svix-ci
email: support@svix.com
homepage: https://www.svix.com
description: Svix CLI utility
scoops:
-
repository:
owner: svix
name: scoop-svix
commit_author:
name: svix-ci
email: support@svix.com
homepage: https://www.svix.com
description: Svix CLI utility
snapcrafts:
-
name: svix
Expand Down

0 comments on commit 663e0bb

Please sign in to comment.