croc/goreleaser.yml

78 lines
1.5 KiB
YAML
Raw Normal View History

2018-10-13 18:19:43 +02:00
project_name: croc
build:
main: main.go
binary: croc
2018-10-18 15:54:25 +02:00
ldflags: -s -w -X main.Version="v{{.Version}}-{{.Date}}"
2018-10-13 18:19:43 +02:00
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
2018-10-18 15:54:25 +02:00
- freebsd
- netbsd
2018-10-13 18:19:43 +02:00
- openbsd
2018-10-18 15:54:25 +02:00
- dragonfly
2018-10-13 18:19:43 +02:00
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 7
2018-10-18 15:54:25 +02:00
nfpm:
formats:
- deb
vendor: "schollz.com"
homepage: "https://schollz.com/software/croc/"
maintainer: "Zack Scholl <zack.scholl@gmail.com>"
description: "A simple, secure, and fast way to transfer data."
license: "MIT"
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
amd64: 64bit
386: 32bit
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
openbsd: OpenBSD
netbsd: NetBSD
freebsd: FreeBSD
dragonfly: DragonFlyBSD
2018-10-13 18:19:43 +02:00
archive:
format: tar.gz
2018-07-03 16:23:30 +02:00
format_overrides:
2018-10-13 18:19:43 +02:00
- goos: windows
format: zip
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
amd64: 64bit
386: 32bit
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
openbsd: OpenBSD
netbsd: NetBSD
freebsd: FreeBSD
dragonfly: DragonFlyBSD
files:
- README.md
- LICENSE
brew:
github:
owner: schollz
name: homebrew-tap
folder: Formula
description: "croc is a tool that allows any two computers to simply and securely transfer files and folders."
homepage: "https://schollz.com/software/croc/"
install: |
bin.install "croc"
test: |
2019-05-10 15:12:55 +02:00
system "#{bin}/croc --version"