minio / kes

Key Managament Server for Object Storage and more
https://min.io/docs/kes/concepts/
GNU Affero General Public License v3.0
453 stars 91 forks source link

Goreleaser warning/error (release help) #470

Open donatello opened 1 month ago

donatello commented 1 month ago

Bug describtion

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

GitVersion:    v2.0.1
GitCommit:     unknown
GitTreeState:  unknown
BuildDate:     unknown
BuiltBy:       unknown
GoVersion:     go1.22.4
Compiler:      gc
ModuleSum:     h1:Wx2peRnvixEBRKxU6T0Gh+3wlire+Jv2IOW5eNPan3U=
Platform:      linux/amd64

$ goreleaser --clean
  • starting release...
  • only configurations files on  version: 2  are supported, yours is  version: 0 , please update your configuration
... <APPEARS TO CONTINUE AS NORMAL>

Expected behavior

Go releaser config needs to be updated for v2.

Additional context

  1. What version of Go are you using (go version)?

  2. What operating system and processor architecture are you using (go env)?

  3. Anything else that is important?

klauspost commented 4 weeks ago

I don't suppose we need something from the latest. You can just pin the version instead of using latest.

Alternatively it should just be adding version: 2 to the config.