Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace removed goreleaser archives.replacements configuration (#349)
The `archives.replacements` field from the `goreleaser` configuration file was [removed](https://goreleaser.com/deprecations/#archivesreplacements). It's stopping us from releasing a new version: ``` goreleaser release --clean • starting release... ⨯ release failed after 0s error=yaml: unmarshal errors: line 25: field replacements not found in type config.Archive ``` The suggested alternative is to use `archives.name_template`. Tested by running `goreleaser release --skip publish` locally, inspecting the built archive names, and comparing them to past releases: ``` • archives • creating archive=dist/grpcui_1.4.2_linux_x86_32.tar.gz • creating archive=dist/grpcui_1.4.2_windows_x86_64.zip • creating archive=dist/grpcui_1.4.2_linux_x86_64.tar.gz • creating archive=dist/grpcui_1.4.2_linux_arm64.tar.gz • creating archive=dist/grpcui_1.4.2_osx_arm64.tar.gz • creating archive=dist/grpcui_1.4.2_windows_x86_32.zip • creating archive=dist/grpcui_1.4.2_osx_x86_64.tar.gz ```
- Loading branch information