From dbf6e3e7996a65e235e7c7e36f68787f35a0a353 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Tue, 9 Jul 2024 10:48:29 -0300 Subject: [PATCH] ci: fix goreleaser config Signed-off-by: Carlos Alexandro Becker --- .github/workflows/goreleaser.yml | 4 ++-- .goreleaser.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 1ccf980..fbc2046 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json + name: goreleaser on: @@ -21,5 +23,3 @@ jobs: nfpm_gpg_key: ${{ secrets.NFPM_GPG_KEY }} nfpm_passphrase: ${{ secrets.NFPM_PASSPHRASE }} snapcraft_token: ${{ secrets.SNAPCRAFT_TOKEN }} - -# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json diff --git a/.goreleaser.yml b/.goreleaser.yml index aa0c1ae..22bd6e5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,14 +1,14 @@ +# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json + +version: 2 + includes: - from_url: url: charmbracelet/meta/main/goreleaser-glow.yaml variables: - main: "." - binary_name: glow description: "Render markdown on the CLI, with pizzazz!" github_url: "https://github.com/charmbracelet/soft-serve" maintainer: "Christian Muehlhaeuser " brew_commit_author_name: "Christian Muehlhaeuser" brew_commit_author_email: "muesli@charm.sh" - -# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json