2 Star 1 Fork 0

jretty-org/buddhad

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.goreleaser.yml 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
env:
- GO111MODULE=on
before:
hooks:
- go generate ./...
- go mod download
project_name: supervisord
builds:
- id: static
env:
- CGO_ENABLED=1
binary: supervisord_static
goos:
- linux
goarch:
- amd64
ldflags:
- "-linkmode external -extldflags -static"
- env:
- CGO_ENABLED=0
ldflags:
- "-s -w"
binary: supervisord
flags:
- -tags=release
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm
- arm64
goarm:
- "6"
- "7"
hooks:
post: ./upx.sh
archive:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format: tar.gz
format_overrides:
- goos: windows
format: zip
wrap_in_directory: true
files:
- none*
replacements:
amd64: 64-bit
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
openbsd: OpenBSD
netbsd: NetBSD
freebsd: FreeBSD
release:
github:
owner: ochinchina
name: supervisord
draft: false
prerelease: auto
name_template: "{{.ProjectName}}-v{{.Version}}-{{.ShortCommit}}"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/jretty-org/buddhad.git
[email protected]:jretty-org/buddhad.git
jretty-org
buddhad
buddhad
master

搜索帮助