mirror of
https://github.com/foomo/gotsrpc.git
synced 2025-10-16 12:35:35 +00:00
33 lines
715 B
YAML
33 lines
715 B
YAML
# .goreleaser.yml
|
|
# Build customization
|
|
builds:
|
|
- binary: gotsrpc
|
|
main: ./cmd/gotsrpc/gotsrpc.go
|
|
env:
|
|
- CGO_ENABLED=0
|
|
ldflags:
|
|
- -s -w -X cmd/gotsrpc/main.version={{.Version}}
|
|
- -s -w -X main.version={{.Version}}
|
|
goos:
|
|
- windows
|
|
- darwin
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
|
|
# .goreleaser.yml
|
|
archives:
|
|
- format: tar.gz
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
|
|
brews:
|
|
# Reporitory to push the tap to.
|
|
- tap:
|
|
owner: foomo
|
|
name: homebrew-gotsrpc
|
|
caveats: "gotsrpc gotsrpc.yml"
|
|
homepage: "https://github.com/foomo/gotsrpc"
|
|
description: "CLI utility to generate go and typescript RPC calls easily" |