Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoReleaser Version 2 Support #97

Closed
bflad opened this issue Jun 17, 2024 · 1 comment · Fixed by #98
Closed

GoReleaser Version 2 Support #97

bflad opened this issue Jun 17, 2024 · 1 comment · Fixed by #98
Milestone

Comments

@bflad
Copy link
Contributor

bflad commented Jun 17, 2024

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

  • Update the workflows to use the latest trusted goreleaser-action (v6)
  • Ensure CLI flag usage in the workflows are compliant with GoReleaser v2 (e.g. --clean instead of --rm-dist)
  • Release a new major version of ghaction-terraform-provider-release (v5.0.0)

Additional References

@bflad bflad added this to the v5.0.0 milestone Jun 18, 2024
@bflad
Copy link
Contributor Author

bflad commented Jun 18, 2024

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.

@bflad bflad linked a pull request Jun 18, 2024 that will close this issue
@bflad bflad closed this as completed in #98 Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant