1
0
mirror of https://github.com/schollz/croc.git synced 2024-12-01 08:33:08 +03:00
croc/goreleaser.yml

67 lines
1.2 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
2018-10-18 16:54:25 +03: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 19:19:43 +03:00
archive:
format: tar.gz
2018-07-03 17:23:30 +03:00
format_overrides:
2018-10-13 19:19:43 +03: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
release:
2018-10-18 16:54:25 +03:00
draft: true