Hello guys, our release action failed recently due...
# pulumiverse
r
Hello guys, our release action failed recently due to the following error.
Copy code
GoReleaser latest installed successfully
/opt/hostedtoolcache/goreleaser-action/2.2.0/x64/goreleaser -p 3 release --rm-dist
  ⨯ command failed                                   error=unknown flag: --rm-dist
Error: The process '/opt/hostedtoolcache/goreleaser-action/2.2.0/x64/goreleaser' failed with exit code 1
You can find the error in detail here. https://github.com/pulumiverse/pulumi-cpln/actions/runs/10706583306/job/29684717209 I believe the error is related to the args found in the
release.yml
file. https://github.com/pulumiverse/pulumi-cpln/blob/main/.github/workflows/release.yml#L62 Is the solution to remove the
--rm-dist
or should we just use
goreleaser/goreleaser-action@v5
and update the workflow as necessary?
l
Replace
--rm-dist
with
--clean
and you should be good to go.