47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
version: 2
|
|
project_name: supabase
|
|
builds:
|
|
- id: supabase
|
|
binary: supabase
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -s -w -X github.com/supabase/cli/internal/utils.Version={{.Version}} -X github.com/supabase/cli/internal/utils.SentryDsn={{ .Env.SENTRY_DSN }}
|
|
env:
|
|
- CGO_ENABLED=0
|
|
targets:
|
|
- darwin_amd64
|
|
- darwin_arm64
|
|
- linux_amd64
|
|
- linux_arm64
|
|
- windows_amd64
|
|
- windows_arm64
|
|
archives:
|
|
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
|
|
release:
|
|
draft: true
|
|
replace_existing_draft: true
|
|
prerelease: auto
|
|
changelog:
|
|
use: github
|
|
groups:
|
|
- title: Features
|
|
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
|
|
order: 0
|
|
- title: "Bug fixes"
|
|
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
|
|
order: 1
|
|
- title: Others
|
|
order: 999
|
|
nfpms:
|
|
- vendor: Supabase
|
|
description: Supabase CLI
|
|
maintainer: Supabase CLI
|
|
homepage: https://supabase.com
|
|
license: MIT
|
|
formats:
|
|
- apk
|
|
- deb
|
|
- rpm
|
|
- archlinux
|