Hello everyone, our release action failed recently...
# general
r
Hello everyone, our release action failed recently due to the following issue.
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/10490155709/job/29056357682 I believe the issue 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 it safe to remove the
--rm-dist
or should we just use
goreleaser/goreleaser-action@v5
and update the workflow as necessary?