Skip to content

fix: resolve goreleaser v2 deprecations#1004

Open
bryantbiggs wants to merge 2 commits intokubernetes-sigs:masterfrom
bryantbiggs:chore/fix-goreleaser-deprecations
Open

fix: resolve goreleaser v2 deprecations#1004
bryantbiggs wants to merge 2 commits intokubernetes-sigs:masterfrom
bryantbiggs:chore/fix-goreleaser-deprecations

Conversation

@bryantbiggs
Copy link
Member

@bryantbiggs bryantbiggs commented Mar 21, 2026

Summary

  • Add explicit version: 2 declaration required by goreleaser v2
  • Rename deprecated snapshot.name_template to snapshot.version_template
  • Rename deprecated archives.format (string) to archives.formats (list)
  • Replace removed --skip-publish flag with --skip=publish in Makefile goreleaser target
  • Add explicit release subcommand required by goreleaser v2
  • Update goreleaser install hint from go get to go install with v2 module path

Resolves the deprecated warnings from the recent release output https://github.com/kubernetes-sigs/aws-iam-authenticator/actions/runs/23367905386/job/67985570424

- Add explicit `version: 2` declaration (required by goreleaser v2)
- Rename `snapshot.name_template` to `snapshot.version_template`
- Rename `archives.format` to `archives.formats` (now accepts a list)
- Replace removed `--skip-publish` flag with `--skip=publish`
- Add explicit `release` subcommand (required in v2)
- Update install hint from `go get` to `go install` with v2 module path
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: bryantbiggs
Once this PR has been reviewed and has the lgtm label, please assign kmala for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants