pgroll/.goreleaser.yaml
Andrew Farries 57ea814398
Mark releases as draft (#186)
Until we are happy with the goreleaser based release flow.

This means the release will have to be manually published before being
generally visible.
2023-10-13 12:34:42 +01:00

50 lines
892 B
YAML

project_name: pgroll
before:
hooks:
- go mod tidy
builds:
- id: build_noncgo
binary: pgroll
ldflags:
- -X github.com/xataio/pgroll/cmd.Version={{ .Version }}
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
release:
draft: true
brews:
- name: pgroll
homepage: "https://www.xata.io"
description: "Postgres zero-downtime migrations made easy"
license: "Apache-2.0"
repository:
owner: xataio
name: homebrew-pgroll
archives:
- format: binary
name_template: >-
{{ .ProjectName }}.{{ if eq .Os "windows" }}win{{ else if eq .Os "darwin" }}macos{{ else }}{{ .Os }}{{ end }}.{{ .Arch }}
files:
- LICENSE*
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"