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

The release workflow was broken #3435

Closed
suzuki-shunsuke opened this issue Jul 28, 2023 · 2 comments · Fixed by #3436
Closed

The release workflow was broken #3435

suzuki-shunsuke opened this issue Jul 28, 2023 · 2 comments · Fixed by #3436

Comments

@suzuki-shunsuke
Copy link
Contributor

grpc-gateway v2.16.1 doesn't have pre-built binaries.

https://github.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.16.1

image

This is because the release workflow failed.

https://github.com/grpc-ecosystem/grpc-gateway/actions/runs/5649954585/job/15305366713

Run goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7
Downloading https://github.com/goreleaser/goreleaser/releases/download/v1.19.2
/goreleaser_Linux_x86_64.tar.gz
Extracting GoReleaser
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/524573f8-b4c1-48[12](https://github.com/grpc-ecosystem/grpc-gateway/actions/runs/5649954585/job/15305366713#step:5:13)-a5d8-6f75e2822c89 -f /home/runner/work/_temp/f840d172-b395-4f9b-9a3c-d046d9eb37a5
GoReleaser latest installed successfully
/opt/hostedtoolcache/goreleaser-action/1.19.2/x64/goreleaser release --rm-dist
Flag --rm-dist has been deprecated, please use --clean instead
  • starting release...
  • loading config file                              file=.goreleaser.yml
  ⨯ release failed after 0s                  error=yaml: unmarshal errors:
  line 29: field replacements not found in type config.Archive
Error: The process '/opt/hostedtoolcache/goreleaser-action/1.[19](https://github.com/grpc-ecosystem/grpc-gateway/actions/runs/5649954585/job/15305366713#step:5:20).2/x64/goreleaser' failed with exit code 1
@suzuki-shunsuke
Copy link
Contributor Author

suzuki-shunsuke commented Jul 28, 2023

✅ I'll send a pull request to resolve the issue soon.

@suzuki-shunsuke
Copy link
Contributor Author

Downloading https://github.com/goreleaser/goreleaser/releases/download/v1.19.2
  • loading config file                              file=.goreleaser.yml
  ⨯ release failed after 0s                  error=yaml: unmarshal errors:
  line 29: field replacements not found in type config.Archive

goreleaser v1.19.2 was used.
archives.replacements was removed.

https://goreleaser.com/deprecations/?h=replacements#archivesreplacements

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