Skip to content

Commit

Permalink
fix(build): improve release process (#4945)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 28, 2025
1 parent db944f9 commit a5fd26c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# yaml-language-server: schema=https://goreleaser.com/static/schema.json
version: 2
builds:
- env:
Expand All @@ -11,7 +12,7 @@ builds:
ldflags:
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
goos:
# - freebsd
- freebsd
- windows
- linux
- darwin
Expand All @@ -25,7 +26,7 @@ builds:
goarch: "386"
binary: "{{ .ProjectName }}_v{{ .Version }}"
archives:
- format: zip
- formats: [ 'zip' ]
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
Expand All @@ -51,7 +52,6 @@ changelog:
disable: true
snapshot:
version_template: "{{.ShortCommit}}-dev"

announce:
discord:
enabled: true
Expand Down

0 comments on commit a5fd26c

Please sign in to comment.