This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/.goreleaser.yml
Sam Alba 959f865dda added goreleaser config
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-29 14:35:14 -07:00

59 lines
1.0 KiB
YAML

project_name: dagger
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/dagger
binary: dagger
ldflags:
- -s -w
- -X dagger.io/go/cmd/dagger/cmd.version={{.Version}}
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
- name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
replacements:
files:
- LICENSE
- README.md
- doc/**/*
- examples/**/*
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
- tap:
owner: dagger
name: homebrew-tap
commit_author:
name: dagger-bot
email: noreply@dagger.io
homepage: "https://github.com/dagger/dagger"
description: "Dagger is a programmable deployment system."
test: |
system "#{bin}/dagger version"