mirror of
https://github.com/xataio/pgroll.git
synced 2024-09-11 05:45:48 +03:00
Until we are happy with the goreleaser based release flow. This means the release will have to be manually published before being generally visible.
50 lines
892 B
YAML
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:"
|