lindell / multi-gitter

Update multiple repositories in with one command
Apache License 2.0
866 stars 64 forks source link

chore: fix goreleaser config #490

Closed suzuki-shunsuke closed 3 months ago

suzuki-shunsuke commented 3 months ago

What does this change

Give a summary of the change, and how it affects end-users. It's okay to copy/paste your commit messages.

For example if it introduces a new flag or modifies a commands output, give an example of you running the command and showing real output here.

Fixed GoReleaser config's errors.

https://github.com/lindell/multi-gitter/actions/runs/9755716855/job/26924701362

  • only configurations files on version: 2 are supported, yours is version: 0, please update your configuration
  ⨯ release failed after 0s                  error=only configurations files on version: 2 are supported, yours is version: 0, please update your configuration
Error: The process '/opt/hostedtoolcache/goreleaser-action/2.0.1/x64/goreleaser' failed with exit code 1

The release of v0.52.1 failed, so this pull request fixes the error.

Furthermore, this pull request fixes another error too.

$ goreleaser check
  ⨯ command failed                                   error=yaml: unmarshal errors:
  line 76: field folder not found in type config.Homebrew

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

What issue does it fix

Closes # (issue)

If there is not an existing issue, please make sure we have context on why this change is needed. .

Notes for the reviewer

Put any questions or notes for the reviewer here.

Checklist

suzuki-shunsuke commented 3 months ago

Test

I've confirmed goreleaser check succeeded.

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

GitVersion:    2.0.1
GitCommit:     684c1805864e5f29acc204e34e1770eb74918d15
GitTreeState:  false
BuildDate:     2024-06-11T01:45:52Z
BuiltBy:       goreleaser
GoVersion:     go1.22.4
Compiler:      gc
ModuleSum:     h1:Wx2peRnvixEBRKxU6T0Gh+3wlire+Jv2IOW5eNPan3U=
Platform:      darwin/arm64
$ goreleaser check
  • checking                                 path=.goreleaser.yml
  • 1 configuration file(s) validated
  • thanks for using goreleaser!
lindell commented 3 months ago

Thanks! I don't currently have access to a computer, so I very much appreciate this fix atm!

github-actions[bot] commented 3 months ago

Included in release v0.52.1 🎉