Skip to content

Commit

Permalink
update goreleaser to v2 / action v6
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxtof committed Jun 5, 2024
1 parent 76efb56 commit bc4eba0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
with:
go-version: '^1.21'
- name: GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NUTANIX_BOT_PAT: ${{ secrets.NUTANIX_BOT_PAT }}
Expand Down
14 changes: 7 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ builds:
- amd64
- arm64
ldflags:
- -s -w
- -X github.com/nutanix/kubectl-karbon/version.Version={{.Version}}
- -X github.com/nutanix/kubectl-karbon/version.Commit={{.ShortCommit}}
- -X github.com/nutanix/kubectl-karbon/version.Date={{.Date}}
- -s -w
- -X github.com/nutanix/kubectl-karbon/version.Version={{.Version}}
- -X github.com/nutanix/kubectl-karbon/version.Commit={{.ShortCommit}}
- -X github.com/nutanix/kubectl-karbon/version.Date={{.Date}}
- -X github.com/nutanix/kubectl-karbon/version.BuiltBy=GoReleaser
- -X github.com/nutanix/kubectl-karbon/version.OsName={{.Os}}
- -X github.com/nutanix/kubectl-karbon/version.PlatformName={{.Arch}}
Expand All @@ -30,16 +30,16 @@ archives:
# Homebrew
brews:
- name: kubectl-karbon
tap:
repository:
owner: nutanix
name: homebrew-tap
branch: main
token: "{{ .Env.NUTANIX_BOT_PAT }}"
commit_author:
name: tuxtof
email: [email protected]
folder: Formula
homepage: https://github.com/nutanix/kubectl-karbon
directory: Formula
homepage: https://github.com/nutanix/kubectl-karbon
description: Kubectl extension to quickly connect to an existing karbon cluster!
test: |
system "kubectl-karbon version"

0 comments on commit bc4eba0

Please sign in to comment.