28 Star 173 Fork 43

Juicedata/JuiceFS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.goreleaser.yml 2.45 KB
一键复制 编辑 原始数据 按行查看 历史
project_name: juicefs
env:
- GO111MODULE=on
- CGO_ENABLED=1
- REVISIONDATE={{ .Env.REVISIONDATE }}
before:
hooks:
- go mod download
builds:
- id: juicefs-windows-amd64
hooks:
pre:
- sh -c 'mkdir -p /usr/local/include/winfsp && cp hack/winfsp_headers/* /usr/local/include/winfsp'
env:
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
ldflags: -s -w -X github.com/juicedata/juicefs/pkg/version.version={{.Version}} -X github.com/juicedata/juicefs/pkg/version.revision={{.ShortCommit}} -X github.com/juicedata/juicefs/pkg/version.revisionDate={{.Env.REVISIONDATE}}
flags:
- -buildmode
- exe
main: .
goos:
- windows
goarch:
- amd64
- id: juicefs-darwin-amd64
env:
- CC=o64-clang
- CXX=o64-clang++
ldflags: -s -w -X github.com/juicedata/juicefs/pkg/version.version={{.Version}} -X github.com/juicedata/juicefs/pkg/version.revision={{.ShortCommit}} -X github.com/juicedata/juicefs/pkg/version.revisionDate={{.Env.REVISIONDATE}}
main: .
goos:
- darwin
goarch:
- amd64
- id: juicefs-darwin-arm64
env:
- CC=oa64-clang
- CXX=oa64-clang++
ldflags: -s -w -X github.com/juicedata/juicefs/pkg/version.version={{.Version}} -X github.com/juicedata/juicefs/pkg/version.revision={{.ShortCommit}} -X github.com/juicedata/juicefs/pkg/version.revisionDate={{.Env.REVISIONDATE}}
main: .
goos:
- darwin
goarch:
- arm64
- id: juicefs-linux-amd64
env:
- CC=/usr/bin/musl-gcc
ldflags: -s -w -X github.com/juicedata/juicefs/pkg/version.version={{.Version}} -X github.com/juicedata/juicefs/pkg/version.revision={{.ShortCommit}} -X github.com/juicedata/juicefs/pkg/version.revisionDate={{.Env.REVISIONDATE}} -linkmode external -extldflags '-static'
main: .
goos:
- linux
goarch:
- amd64
- id: juicefs-linux-arm64
env:
- CC=aarch64-linux-gnu-gcc
ldflags: -s -w -X github.com/juicedata/juicefs/pkg/version.version={{.Version}} -X github.com/juicedata/juicefs/pkg/version.revision={{.ShortCommit}} -X github.com/juicedata/juicefs/pkg/version.revisionDate={{.Env.REVISIONDATE}}
main: .
goos:
- linux
goarch:
- arm64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
archives:
- name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/juicedata/JuiceFS.git
[email protected]:juicedata/JuiceFS.git
juicedata
JuiceFS
JuiceFS
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385