1 Star 0 Fork 38

hornsey / JuiceFS

forked from Juicedata / JuiceFS 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.goreleaser.yml 2.25 KB
一键复制 编辑 原始数据 按行查看 历史
project_name: juicefs
env:
- GO111MODULE=on
- CGO_ENABLED=1
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={{.CommitDate}}
flags:
- -buildmode
- exe
main: ./cmd
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={{.CommitDate}}
main: ./cmd
goos:
- darwin
goarch:
- amd64
- 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={{.CommitDate}} -linkmode external -extldflags '-static'
main: ./cmd
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={{.CommitDate}}
main: ./cmd
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 }}"
brews:
- tap:
owner: juicedata
name: homebrew-tap
folder: Formula
homepage: https://github.com/juicedata/juicefs
description: JuiceFS is a distributed POSIX file system built on top of Redis and S3
1
https://gitee.com/hornsey/JuiceFS.git
git@gitee.com:hornsey/JuiceFS.git
hornsey
JuiceFS
JuiceFS
main

搜索帮助