From ba68416b2ba2827b3f65953270346e50c642fc5c Mon Sep 17 00:00:00 2001 From: Timo Riski Date: Thu, 26 Sep 2024 10:09:22 +0300 Subject: [PATCH] fix: add version to .goreleaser.yml * Adds `version` field to goreleaser config file * Adds `yaml-language-server` as instructed in https://goreleaser.com/customization/ Fixes: only configurations files on version: 2 are supported, yours is version: 0, please update your configuration --- .goreleaser.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 74002a67c..882ea4ea6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,6 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/goreleaser/goreleaser/v2.3.2/www/docs/static/schema.json +version: 2 + builds: - env: - CGO_ENABLED=0