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

Handle update to goreleaser v2 #86

Merged
merged 2 commits into from
Jun 14, 2024
Merged

Conversation

mmlb
Copy link
Member

@mmlb mmlb commented Jun 14, 2024

We were previously stating version: latest in the goreleaser-action step and thus were bumped to v2 of goreleaser itself. v2 dropped --rm-dist, now named --clean. I opted to handle the update now while its nice and easy instead of later when it would likely be more of a pain.

mmlb added 2 commits June 14, 2024 13:22
Since we were stating `version: latest` in the github-actions yaml this
update snuck up on us. I decided to go ahead with the update instead of
pinning to v1 since at some point we'll have to update anyway, might as
well do it now.

Use --clean not --rm-dist in goreleaser release step, removed in
v1.15.0, see https://goreleaser.com/deprecations/#-rm-dist.

Add `version: 2` to the .goreleaser.yml file since `goreleaser check`
complained about it.
@mmlb mmlb merged commit 452ef8e into metal-toolbox:main Jun 14, 2024
2 checks passed
@mmlb mmlb deleted the fix-goreleaser-release branch June 14, 2024 17:35
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 this pull request may close these issues.

2 participants