mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
662 B
YAML
32 lines
662 B
YAML
builds:
|
|
- main: ./cmd/gotk
|
|
ldflags:
|
|
- -s -w -X main.VERSION={{ .Version }}
|
|
binary: gotk
|
|
goos:
|
|
- darwin
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
env:
|
|
- CGO_ENABLED=0
|
|
archives:
|
|
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
files:
|
|
- none*
|
|
brews:
|
|
- name: gotk
|
|
tap:
|
|
owner: fluxcd
|
|
name: homebrew-tap
|
|
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
|
|
folder: Formula
|
|
homepage: "https://toolkit.fluxcd.io/"
|
|
description: "GitOps Toolkit CLI"
|
|
dependencies:
|
|
- name: kubectl
|
|
type: optional
|
|
test: |
|
|
system "#{bin}/gotk --version"
|