1 Star 0 Fork 19

合金来了 / Dragonfly

forked from Gitee 极速下载 / Dragonfly 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.goreleaser.yml 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
yeya24 提交于 2019-11-15 01:25 . add goreleaser and docker image publish
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod tidy
builds:
- binary: supernode
id: "supernode"
main: cmd/supernode/main.go
goarch:
- amd64
goos:
- linux
- darwin
ldflags:
- -s -w -X github.com/dragonflyoss/Dragonfly/version.version={{.Version}}
- -X github.com/dragonflyoss/Dragonfly/version.revision={{.ShortCommit}}
- -X github.com/dragonflyoss/Dragonfly/version.buildDate={{.Env.DATE}}
- binary: dfget
id: "dfget"
main: cmd/dfget/main.go
goarch:
- amd64
goos:
- linux
- darwin
ldflags:
- -s -w -X github.com/dragonflyoss/Dragonfly/version.version={{.Version}}
- -X github.com/dragonflyoss/Dragonfly/version.revision={{.ShortCommit}}
- -X github.com/dragonflyoss/Dragonfly/version.buildDate={{.Env.DATE}}
- binary: dfdaemon
id: "dfdaemon"
main: cmd/dfdaemon/main.go
goarch:
- amd64
goos:
- linux
- darwin
ldflags:
- -s -w -X github.com/dragonflyoss/Dragonfly/version.version={{.Version}}
- -X github.com/dragonflyoss/Dragonfly/version.revision={{.ShortCommit}}
- -X github.com/dragonflyoss/Dragonfly/version.buildDate={{.Env.DATE}}
# archives in the tarball
archives:
- wrap_in_directory: true
# additional files
files:
- LICENSE
- README.md
checksum:
name_template: 'checksums.txt'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/lvhejin/Dragonfly.git
git@gitee.com:lvhejin/Dragonfly.git
lvhejin
Dragonfly
Dragonfly
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891