Skip to content

Commit

Permalink
adding support for mac fat binary and nfpms
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyu003 committed Dec 24, 2021
1 parent e066c8c commit 2f0de01
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ builds:
- main: ./main.go
binary: sttr
goos: ['linux', 'darwin', 'windows']
goarch: ['386', 'amd64']
goarch: ['386', 'amd64', 'arm64']
env:
- CGO_ENABLED=0

universal_binaries:
- replace: true

changelog:
sort: 'asc'
filters:
Expand All @@ -39,6 +42,19 @@ brews:
test: |
system "#{bin}/sttr -v"
nfpms:
- builds:
- sttr
vendor: abhimanyu003
homepage: "https://github.com/abhimanyu003/sttr/"
maintainer: "Abhimanyu Sharma <abhimanyusharma003@gmail.com>"
description: "A cross-platform, cli app to perform various operations on string"
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin

snapcrafts:
- name: sttr
publish: true
Expand Down

0 comments on commit 2f0de01

Please sign in to comment.