Skip to content

Commit

Permalink
Update goreleaser config file
Browse files Browse the repository at this point in the history
  • Loading branch information
xwjdsh committed Jun 9, 2021
1 parent df2ae29 commit 7f0fd35
Showing 1 changed file with 28 additions and 13 deletions.
41 changes: 28 additions & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,35 @@
# Build customization
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- binary: fy
main: ./cmd/fy
- env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64

- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brew:
github:
tap:
owner: xwjdsh
name: homebrew-tap

Expand All @@ -20,11 +39,7 @@ brew:

homepage: "https://github.com/xwjdsh/fy"
description: "A command-line translation tool"
license: "MIT"

install: |
bin.install "fy"
release:
github:
owner: xwjdsh
name: fy

0 comments on commit 7f0fd35

Please sign in to comment.