Skip to content

Commit

Permalink
Update to goreleaser 2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenlj committed Oct 18, 2024
1 parent fb5c968 commit 811252f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: v1.7.0
args: release -f .goreleaser.yaml --rm-dist --debug
version: v2.3.2
args: release --config .goreleaser.yaml --clean --verbose
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_PUSH_TOKEN: ${{ steps.get-homebrew-token.outputs.token }}
Expand Down
11 changes: 9 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
version: 2

project_name: narc-cli

before:
hooks:
- go mod tidy

builds:
- targets:
- linux_amd64
Expand Down Expand Up @@ -28,14 +35,14 @@ release:
## narc-cli ({{ .Version }})
brews:
- tap:
- repository:
owner: nais
name: homebrew-tap
token: "{{ .Env.HOMEBREW_PUSH_TOKEN }}"
name: narc
homepage: "https://github.com/nais/narcos"
description: "NAIS Administration CLI"
folder: Formula
directory: Formula
install: |
bin.install "narc"
test: |
Expand Down

0 comments on commit 811252f

Please # to comment.