110 lines
2.4 KiB
YAML
110 lines
2.4 KiB
YAML
# This is an example goreleaser.yaml file with some sane defaults.
|
|
# Make sure to check the documentation at http://goreleaser.com
|
|
project_name: console
|
|
|
|
release:
|
|
name_template: "Version {{.Version}}"
|
|
github:
|
|
owner: minio
|
|
name: console
|
|
|
|
before:
|
|
hooks:
|
|
# you may remove this if you don't use vgo
|
|
- go mod tidy
|
|
|
|
builds:
|
|
-
|
|
goos:
|
|
- freebsd
|
|
- windows
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
|
|
ignore:
|
|
- goos: darwin
|
|
goarch: arm64
|
|
- goos: darwin
|
|
goarch: arm
|
|
- goos: darwin
|
|
goarch: ppc64le
|
|
- goos: darwin
|
|
goarch: s390x
|
|
- goos: windows
|
|
goarch: arm64
|
|
- goos: windows
|
|
goarch: arm
|
|
- goos: windows
|
|
goarch: ppc64le
|
|
- goos: windows
|
|
goarch: s390x
|
|
- goos: freebsd
|
|
goarch: arm
|
|
- goos: freebsd
|
|
goarch: arm64
|
|
- goos: freebsd
|
|
goarch: ppc64le
|
|
- goos: freebsd
|
|
goarch: s390x
|
|
|
|
env:
|
|
- CGO_ENABLED=0
|
|
main: ./cmd/console/
|
|
flags:
|
|
- -trimpath
|
|
- --tags=kqueue
|
|
ldflags:
|
|
- -s -w -X github.com/minio/console/pkg.ReleaseTag={{.Tag}} -X github.com/minio/console/pkg.CommitID={{.FullCommit}} -X github.com/minio/console/pkg.Version={{.Version}} -X github.com/minio/console/pkg.ShortCommitID={{.ShortCommit}} -X github.com/minio/console/pkg.ReleaseTime={{.Date}}
|
|
archives:
|
|
-
|
|
replacements:
|
|
darwin: Darwin
|
|
linux: Linux
|
|
windows: Windows
|
|
freebsd: FreeBSD
|
|
amd64: x86_64
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
files:
|
|
- README.md
|
|
- LICENSE
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
snapshot:
|
|
name_template: 'snapshot-{{ time "2006-01-02" }}'
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
nfpms:
|
|
-
|
|
vendor: MinIO Inc.
|
|
homepage: https://github.com/minio/console
|
|
maintainer: MinIO <minio@minio.io>
|
|
description: MinIO Console Server
|
|
license: GNU Affero General Public License v3.0
|
|
formats:
|
|
- deb
|
|
- rpm
|
|
replacements:
|
|
darwin: Darwin
|
|
linux: Linux
|
|
freebsd: FreeBSD
|
|
amd64: x86_64
|
|
dockers:
|
|
-
|
|
# GOOS of the built binary that should be used.
|
|
goos: linux
|
|
# GOARCH of the built binary that should be used.
|
|
goarch: amd64
|
|
dockerfile: Dockerfile.release
|
|
image_templates:
|
|
- "minio/console:{{ .Tag }}"
|
|
- "minio/console:latest"
|