mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
67 lines
1.5 KiB
YAML
67 lines
1.5 KiB
YAML
# source about auto completion = https://carlosbecker.com/posts/golang-completions-cobra/
|
|
|
|
project_name: fctl
|
|
includes:
|
|
- from_file:
|
|
path: ./../../.goreleaser.default.yaml
|
|
monorepo:
|
|
tag_prefix: v
|
|
dir: ./
|
|
|
|
builds:
|
|
- binary: fctl
|
|
id: fctl
|
|
ldflags:
|
|
- -X github.com/formancehq/fctl/cmd/version.BuildDate={{ .Date }}
|
|
- -X github.com/formancehq/fctl/cmd/version.Version=v{{ .Version }}
|
|
- -X github.com/formancehq/fctl/cmd/version.Commit={{ .ShortCommit }}
|
|
- -extldflags "-static"
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
|
|
archives:
|
|
- id: "{{.ProjectName}}"
|
|
builds:
|
|
- fctl
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
format: tar.gz
|
|
name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}"
|
|
files:
|
|
- completions/*
|
|
|
|
brews:
|
|
- repository:
|
|
owner: formancehq
|
|
name: homebrew-tap
|
|
name: fctl
|
|
folder: Formula
|
|
homepage: https://formance.com
|
|
skip_upload: 'false'
|
|
test: |
|
|
system "#{bin}/fctl version"
|
|
install: |
|
|
bin.install "fctl"
|
|
bash_completion.install "completions/fctl.bash" => "fctl"
|
|
zsh_completion.install "completions/fctl.zsh" => "_fctl"
|
|
fish_completion.install "completions/fctl.fish"
|
|
|
|
furies:
|
|
- account: formance
|
|
ids:
|
|
- fctl
|
|
|
|
release:
|
|
prerelease: auto
|
|
footer: |
|
|
## What to do next?
|
|
- Read the [documentation](https://docs.formance.com/)
|
|
- Join our [Slack server](https://formance.com/slack) |