Skip to content

Commit

Permalink
Try, and try again
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenlj committed Sep 17, 2021
1 parent 0a5cfa6 commit 6775145
Showing 1 changed file with 27 additions and 28 deletions.
55 changes: 27 additions & 28 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,46 @@
project_name: nais-cli
builds:
- env: [CGO_ENABLED=0]
targets:
- linux_amd64
- windows_amd64
- darwin_amd64
- darwin_arm64
id: nais
dir: .
main: ./main/nais_cli
binary: nais
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser
- env: [ CGO_ENABLED=0 ]
targets:
- linux_amd64
- windows_amd64
- darwin_amd64
- darwin_arm64
id: nais
dir: .
main: ./main/nais_cli
binary: nais
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^docs:'
- '^test:'
release:
github:
owner: nais
name: nais-cli
header: |
## nais-cli ({{ .Version }})
brews:
- tap:
owner: nais
name: homebrew-tap
token: "{{ .Env.PUSH_TOKEN }}"
name: nais
homepage: "https://github.com/nais/nais-cli"
description: "Simple Aiven Kafka Debug Cli"
folder: Formula
install: |
bin.install "nais"
test: |
assert_match version, shell_output("#{bin}/nais version")
- tap:
owner: nais
name: homebrew-tap
token: "{{ .Env.PUSH_TOKEN }}"
name: nais
homepage: "https://github.com/nais/nais-cli"
description: "Simple Aiven Kafka Debug Cli"
folder: Formula
install: |
bin.install "nais"
test: |
assert_match version, shell_output("#{bin}/nais version")
nfpms:
-
package_name: nais
- package_name: nais
file_name_template: "{{ .PackageName }}_{{ .Version }}"
vendor: NAV / nais team
homepage: "https://github.com/nais/nais-cli"
Expand Down

0 comments on commit 6775145

Please sign in to comment.