mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
reduce goreleaser
This commit is contained in:
parent
48933b5ecc
commit
4d35b3a397
1 changed files with 2 additions and 26 deletions
|
@ -2,17 +2,14 @@ project_name: croc
|
||||||
build:
|
build:
|
||||||
main: main.go
|
main: main.go
|
||||||
binary: croc
|
binary: croc
|
||||||
ldflags: -s -w -X main.Version="v{{.Version}}-{{.Date}}"
|
ldflags: -s -w -X main.Version="v{{.Version}}"
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
goos:
|
goos:
|
||||||
- darwin
|
- darwin
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
- freebsd
|
|
||||||
- netbsd
|
|
||||||
- openbsd
|
- openbsd
|
||||||
- dragonfly
|
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
- 386
|
- 386
|
||||||
|
@ -20,27 +17,6 @@ build:
|
||||||
- arm64
|
- arm64
|
||||||
goarm:
|
goarm:
|
||||||
- 7
|
- 7
|
||||||
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
|
|
||||||
archive:
|
archive:
|
||||||
format: tar.gz
|
format: tar.gz
|
||||||
format_overrides:
|
format_overrides:
|
||||||
|
@ -63,4 +39,4 @@ archive:
|
||||||
- README.md
|
- README.md
|
||||||
- LICENSE
|
- LICENSE
|
||||||
release:
|
release:
|
||||||
draft: true
|
draft: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue