Skip to content

Conversation

shogo82148
Copy link
Contributor

some properties of .goreleaser.yml are now deprecated, and goreleaser check fails:

https://github.com/reviewdog/reviewdog/actions/runs/5598907307/jobs/10239188000

  • loading config file                              file=.goreleaser.yml
  • checking config...
    • DEPRECATED: `archives.rlcp` should not be used anymore, check https://goreleaser.com/deprecations#archivesrlcp for more info
    • DEPRECATED: `brews.tap` should not be used anymore, check https://goreleaser.com/deprecations#brewstap for more info
  •                                                  error=configuration is valid, but uses deprecated properties
  ⨯ command failed                                   error=1 out of 1 configuration file(s) have issues

I fixed deprecated configures.

https://goreleaser.com/deprecations/#archivesrlcp

archives.rlcp

This option is now default and can't be changed. You can remove it from your configuration files.

https://goreleaser.com/deprecations/#brewstap

brews.tap

Replace tap with repository.

The version of goreleaser is 1.19.2.

$ goreleaser -v
  ____       ____      _
 / ___| ___ |  _ \ ___| | ___  __ _ ___  ___ _ __
| |  _ / _ \| |_) / _ \ |/ _ \/ _` / __|/ _ \ '__|
| |_| | (_) |  _ <  __/ |  __/ (_| \__ \  __/ |
 \____|\___/|_| \_\___|_|\___|\__,_|___/\___|_|
goreleaser: Deliver Go Binaries as fast and easily as possible
https://goreleaser.com

GitVersion:    1.19.2
GitCommit:     b95fd394866efeb147769b49a469f88186606177
GitTreeState:  dirty
BuildDate:     2023-07-07T13:32:08
BuiltBy:       homebrew
GoVersion:     go1.20.5
Compiler:      gc
ModuleSum:     unknown
Platform:      darwin/arm64

https://goreleaser.com/deprecations/#archivesrlcp

> This option is now default and can't be changed. You can remove it from your configuration files.
@shogo82148
Copy link
Contributor Author

Thanks!

@shogo82148 shogo82148 merged commit 439aec2 into master Aug 1, 2023
@shogo82148 shogo82148 deleted the fix-goreleaser-config branch August 1, 2023 07:12
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 this pull request may close these issues.

2 participants