1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-Dragonfly

Клонировать/Скачать
.goreleaser.yml 1.7 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
odidev Отправлено 17.11.2020 17:29 09a176e
# 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
- arm64
goos:
- linux
- darwin
ignore:
- goos: darwin
goarch: arm64
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
- arm64
goos:
- linux
- darwin
ignore:
- goos: darwin
goarch: arm64
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
- arm64
goos:
- linux
- darwin
ignore:
- goos: darwin
goarch: arm64
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'

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-Dragonfly.git
git@api.gitlife.ru:oschina-mirror/mirrors-Dragonfly.git
oschina-mirror
mirrors-Dragonfly
mirrors-Dragonfly
master