From 5d194fe628ee2265e17c1d0c0108495e3eac4940 Mon Sep 17 00:00:00 2001 From: Michael Otto Date: Mon, 2 Mar 2026 11:12:08 +0100 Subject: [PATCH] Syntax release.yml korrigiert ... --- .gitea/workflows/release.yml | 41 ++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index bf381c6..e75c6d5 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Release Plugin on: @@ -143,28 +144,28 @@ jobs: echo "download_url=${DOWNLOAD_URL}" >> $GITHUB_OUTPUT - name: Build XML block - id: xmlblock - run: | - NAME="${{ steps.cfg.outputs.name }}" - VERSION="${{ steps.info.outputs.version }}" + id: xmlblock + run: | + NAME="${{ steps.cfg.outputs.name }}" + VERSION="${{ steps.info.outputs.version }}" - BLOCK=$(printf ' \n %s\n %s\n %s\n %s\n %s\n %s\n %s\n %s\n %s\n %s\n %s\n ' \ - "$NAME" \ - "$VERSION" \ - "${{ steps.cfg.outputs.description }}" \ - "${{ steps.cfg.outputs.qgis_min }}" \ - "${{ steps.cfg.outputs.qgis_max }}" \ - "${{ steps.cfg.outputs.author }}" \ - "${{ steps.cfg.outputs.email }}" \ - "${{ steps.cfg.outputs.homepage }}" \ - "${{ steps.cfg.outputs.tracker }}" \ - "${{ steps.cfg.outputs.repository }}" \ - "${{ steps.download_url.outputs.download_url }}" \ - "${{ steps.cfg.outputs.experimental }}" \ - "${{ steps.cfg.outputs.deprecated }}") + BLOCK=$(printf ' \n %s\n %s\n %s\n %s\n %s\n %s\n %s\n %s\n %s\n %s\n %s\n ' \ + "$NAME" \ + "$VERSION" \ + "${{ steps.cfg.outputs.description }}" \ + "${{ steps.cfg.outputs.qgis_min }}" \ + "${{ steps.cfg.outputs.qgis_max }}" \ + "${{ steps.cfg.outputs.author }}" \ + "${{ steps.cfg.outputs.email }}" \ + "${{ steps.cfg.outputs.homepage }}" \ + "${{ steps.cfg.outputs.tracker }}" \ + "${{ steps.cfg.outputs.repository }}" \ + "${{ steps.download_url.outputs.download_url }}" \ + "${{ steps.cfg.outputs.experimental }}" \ + "${{ steps.cfg.outputs.deprecated }}") - BLOCK_ESCAPED=$(printf '%s' "$BLOCK" | sed 's/"/\\"/g') - echo "block=${BLOCK_ESCAPED}" >> $GITHUB_OUTPUT + BLOCK_ESCAPED=$(printf '%s' "$BLOCK" | sed 's/"/\\"/g') + echo "block=${BLOCK_ESCAPED}" >> $GITHUB_OUTPUT - name: Dispatch to Repository run: |