From bb9592d770d6b95f78dbce5dbc101988496c6246 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Sun, 8 Mar 2026 17:44:31 -0700 Subject: [PATCH] chore: update goreleaser config and release workflow (#475) Co-authored-by: Claude Opus 4.6 --- .github/workflows/release.yml | 2 +- .goreleaser.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 99d6714..da222e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@master + uses: actions/checkout@v4 - run: git fetch --tags - name: Setup Go uses: actions/setup-go@v6 diff --git a/.goreleaser.yml b/.goreleaser.yml index b7d3304..521a342 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -15,7 +15,7 @@ # limitations under the License. # This is an example goreleaser.yaml file with some sane defaults. -# Make sure to check the documentation at http://goreleaser.com +# Make sure to check the documentation at https://goreleaser.com version: 2 before: @@ -69,11 +69,11 @@ archives: {{- else -}}v{{- . -}} {{- end -}} {{- end -}} - builds: + ids: - kubectx format_overrides: - goos: windows - format: zip + formats: [zip] files: ["LICENSE"] - id: kubens-archive name_template: |- @@ -89,11 +89,11 @@ archives: {{- else -}}v{{- . -}} {{- end -}} {{- end -}} - builds: + ids: - kubens format_overrides: - goos: windows - format: zip + formats: [zip] files: ["LICENSE"] checksum: name_template: "checksums.txt" @@ -111,7 +111,7 @@ snapcrafts: kubens is a tool to switch between Kubernetes namespaces (and configure them for kubectl) easily. grade: stable confinement: classic - base: core20 + base: core24 apps: kubectx: command: kubectx