Skip to content

Commit

Permalink
Update goreleaser config [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
iawia002 committed Mar 27, 2023
1 parent 2ad249c commit 59b79ee
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ builds:
- env:
- CGO_ENABLED=0
binary: lux
# Disable ldflags: https://github.com/goreleaser/goreleaser/issues/1255
ldflags:
- "-X 'main.aa=aa'"
goos:
- windows
- darwin
Expand All @@ -19,7 +16,7 @@ builds:
- openbsd
- netbsd
goarch:
- 386
- "386"
- amd64
- arm
- arm64
Expand All @@ -36,31 +33,30 @@ env_files:
github_token: ./github_token
changelog:
sort: asc
use: github
filters:
exclude:
- '^docs'
- '^tests'
- Merge pull request
- Merge branch
archives:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}_v{{ .Arm }}{{ end }}'
- name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- none*
wrap_in_directory: false
replacements:
amd64: 64-bit
386: 32-bit
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
openbsd: OpenBSD
netbsd: NetBSD
freebsd: FreeBSD
release:
draft: true
footer: |
**Full Changelog**: https://github.com/iawia002/lux/compare/{{ .PreviousTag }}...{{ .Tag }}

0 comments on commit 59b79ee

Please sign in to comment.