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

chore: fix the release error #397

Merged
merged 1 commit into from
Jul 15, 2024
Merged

chore: fix the release error #397

merged 1 commit into from
Jul 15, 2024

Conversation

suzuki-shunsuke
Copy link
Contributor

@suzuki-shunsuke suzuki-shunsuke commented Jul 15, 2024

Close #398

https://github.com/authzed/zed/actions/runs/9942983136/job/27465721921

Run goreleaser/goreleaser-action@v6
Warning: You are using 'latest' as default version. Will lock to '~> v2'.
Downloading https://github.com/goreleaser/goreleaser-pro/releases/download/v2.1.0-pro/goreleaser-pro_Darwin_all.tar.gz
Extracting GoReleaser
/usr/bin/tar xz -C /Users/runner/work/_temp/a6eaee15-e2ed-4efa-8513-20ad884515ab -f /Users/runner/work/_temp/5997958d-49af-44fc-a94c-5beea7f0be38
GoReleaser latest installed successfully
/Users/runner/hostedtoolcache/goreleaser-action/2.1.0-pro/arm64/goreleaser release --rm-dist
  ⨯ command failed                                   error=unknown flag: --rm-dist
Error: The process '/Users/runner/hostedtoolcache/goreleaser-action/2.1.0-pro/arm64/goreleaser' failed with exit code 1

Updated GoReleaser config and command line options to support GoReleaser v2.

https://github.com/authzed/zed/actions/runs/9942983136/job/27465721921

```
Run goreleaser/goreleaser-action@v6
Warning: You are using 'latest' as default version. Will lock to '~> v2'.
Downloading https://github.com/goreleaser/goreleaser-pro/releases/download/v2.1.0-pro/goreleaser-pro_Darwin_all.tar.gz
Extracting GoReleaser
/usr/bin/tar xz -C /Users/runner/work/_temp/a6eaee15-e2ed-4efa-8513-20ad884515ab -f /Users/runner/work/_temp/5997958d-49af-44fc-a94c-5beea7f0be38
GoReleaser latest installed successfully
/Users/runner/hostedtoolcache/goreleaser-action/2.1.0-pro/arm64/goreleaser release --rm-dist
  ⨯ command failed                                   error=unknown flag: --rm-dist
Error: The process '/Users/runner/hostedtoolcache/goreleaser-action/2.1.0-pro/arm64/goreleaser' failed with exit code 1
```

Updated GoReleaser config and command line options to support GoReleaser v2.

- https://goreleaser.com/deprecations/#-rm-dist
- https://goreleaser.com/blog/goreleaser-v2/?h=v2#upgrading

Signed-off-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>
Copy link

github-actions bot commented Jul 15, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@suzuki-shunsuke
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

Copy link
Member

@josephschorr josephschorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@josephschorr
Copy link
Member

Thanks for the fix!

@josephschorr josephschorr added this pull request to the merge queue Jul 15, 2024
Merged via the queue into authzed:main with commit d1015f3 Jul 15, 2024
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 15, 2024
@suzuki-shunsuke suzuki-shunsuke deleted the chore-goreleaser-v2 branch July 15, 2024 21:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The release failed
2 participants