hashicorp / ghaction-terraform-provider-release

Reusable GitHub Action Workflows for releasing HashiCorp, partner, and community Terraform Providers
Mozilla Public License 2.0
15 stars 9 forks source link

GoReleaser Version 2 Support #97

Closed bflad closed 3 months ago

bflad commented 3 months ago

Description

GoReleaser version 2 has been released, which removes previously deprecated configuration file options, removes previously deprecated CLI flags, and requires a new version: 2 setting in the GoReleaser configuration file. While providers using these workflows maintain their own GoReleaser configuration files, the workflows do determine whether GoReleaser v1 or v2 will be used by default and switching that default from v1 to v2 would likely introduce breaking changes for consumers. Inevitably, this change will need to occur to stay up to date with GoReleaser security and features.

Proposal

Additional References

bflad commented 3 months ago

I didn't see any deprecated CLI flags in the community/hashicorp workflows, so theoretically this will just be merging the action version update and cutting a release.