From 5885877edeb5c5ea79e6fd89c868115bad422a45 Mon Sep 17 00:00:00 2001 From: Moritz Reis Date: Sat, 21 Dec 2024 16:21:28 +0100 Subject: [PATCH] fix: update version --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6667970..bcd77f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,6 +54,12 @@ jobs: echo "VERSION=${{ inputs.VERSION }}" >> $GITHUB_OUTPUT fi + - name: Update Version + run: | + jq --arg version "${{steps.determine-version.outputs.VERSION}}" '.version = $version' package.json > temp.json && mv temp.json package.json + cd addon + jq --arg version "${{steps.determine-version.outputs.VERSION}}" '.version = $version' manifest.json > temp.json && mv temp.json manifest.json + - name: Install dependencies run: npm install