1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-28 01:16:10 +03:00
croc/goreleaser.yml

92 lines
2.0 KiB
YAML
Raw Normal View History

2018-10-13 19:19:43 +03:00
project_name: croc
build:
main: main.go
binary: croc
2018-10-18 16:54:25 +03:00
ldflags: -s -w -X main.Version="v{{.Version}}-{{.Date}}"
2018-10-13 19:19:43 +03:00
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
2018-10-18 16:54:25 +03:00
- freebsd
- netbsd
2018-10-13 19:19:43 +03:00
- openbsd
2018-10-18 16:54:25 +03:00
- dragonfly
2018-10-13 19:19:43 +03:00
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 7
2019-11-18 18:29:11 +03:00
hooks:
post: sh ./src/install/prepare-sources-tarball.sh
nfpms:
-
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"
file_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
archives:
-
format: tar.gz
format_overrides:
- 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
2019-11-18 18:29:11 +03:00
brews:
-
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"
2019-11-18 18:29:11 +03:00
test: |
system "#{bin}/croc --version"
2019-05-12 17:54:03 +03:00
scoop:
bucket:
owner: schollz
name: scoop-bucket
homepage: "https://schollz.com/software/croc/"
description: "croc is a tool that allows any two computers to simply and securely transfer files and folders."
2019-11-18 18:29:11 +03:00
license: MIT
2019-11-18 21:15:57 +03:00