project_name: croc build: main: main.go binary: croc ldflags: -s -w -X main.Version="v{{.Version}}-{{.Date}}" env: - CGO_ENABLED=0 goos: - darwin - linux - windows - freebsd - netbsd - openbsd - dragonfly goarch: - amd64 - 386 - arm - arm64 ignore: - goos: darwin goarch: 386 - goos: freebsd goarch: arm goarm: - 7 nfpms: - formats: - deb vendor: "schollz.com" homepage: "https://schollz.com/software/croc/" maintainer: "Zack Scholl " 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 - zsh_autocomplete - bash_autocomplete brews: - tap: 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: | system "#{bin}/croc --version" 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." license: MIT announce: twitter: # Wether its enabled or not. # Defaults to false. enabled: false