Skip to content

Commit

Permalink
Update GoReleaser config for v0.155, add builds for Linux/arm and Win…
Browse files Browse the repository at this point in the history
…dows (#39)

The GoReleaser `brews` section is updated to work with version 0.155 (installed via the `curl|bash` in the CircleCI config), and now includes kube-capacity `homepage` and `license` metadata.
  • Loading branch information
ivanfetch authored Feb 1, 2021
1 parent ad73636 commit 1a115cc
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarm:
- 6
- 7
archives:
- replacements:
darwin: Darwin
Expand All @@ -19,10 +26,17 @@ changelog:
- '^docs:'
- '^test:'
brews:
- github:
owner: robscott
name: homebrew-tap
folder: Formula
description: kube-capacity provides an overview of the resource requests, limits, and utilization in a Kubernetes cluster
test: |
system "#{bin}/kube-capacity version"
- name: homebrew-tap
tap:
# The token determines the release type (Github/Gitlab).
owner: robscott
name: homebrew-tap
folder: Formula
# Brew fails from multiple 32-bit arm versions.
# Specify which version should be used.
goarm: 6
homepage: https://github.com/robscott/kube-capacity
license: apache-2.0
description: kube-capacity provides an overview of the resource requests, limits, and utilization in a Kubernetes cluster
test: |
system "#{bin}/kube-capacity version"

0 comments on commit 1a115cc

Please sign in to comment.