From dba280d767285287e4c8a7841128625356bdfe61 Mon Sep 17 00:00:00 2001 From: arturu Date: Sat, 27 Apr 2024 13:49:55 +0200 Subject: [PATCH] release(2.0.2): fix action variables --- .github/workflows/create-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index c00cb428..0f5c4ce3 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -70,7 +70,7 @@ jobs: sed -i "s/version: .*/version: $TAG/" "${{ env.project_name }}.libraries.yml" # Update version in package.json - sed -i 's/"version": "[^"]*"/"version": "${TAG}"/' package.json + jq --arg tag "$TAG" '.version = $tag' package.json > temp.json && mv temp.json package.json git add "${{ env.project_name }}.info.yml" git add "version.css"