From 2bc7166d4eeffd9cd73fbfddd88e9a31379586e2 Mon Sep 17 00:00:00 2001 From: TurboRx <187360786+TurboRx@users.noreply.github.com> Date: Mon, 25 Aug 2025 01:48:27 +0530 Subject: [PATCH] fix(workflow): remove extra brace in update_version.yml (#11395) --- .github/workflows/update_version.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/update_version.yml b/.github/workflows/update_version.yml index 2b349908e3..413613f1af 100644 --- a/.github/workflows/update_version.yml +++ b/.github/workflows/update_version.yml @@ -3,12 +3,12 @@ name: Update the npm package version on: workflow_dispatch: inputs: - version: - required: true - type: choice - description: Version type - default: patch - options: + version: + required: true + type: choice + description: Version type + default: patch + options: - major - minor - patch @@ -16,15 +16,18 @@ on: - preminor - prepatch - prerelease + jobs: update_version: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18 cache: 'npm' + - id: bump_version run: | echo "old_version=$(jq -r .version package.json)" >> "$GITHUB_OUTPUT" @@ -33,10 +36,10 @@ jobs: - uses: peter-evans/create-pull-request@v7 with: - title: Bump package.json version to v${{ steps.bump_version.outputs.new_version }}} + title: Bump package.json version to v${{ steps.bump_version.outputs.new_version }} body: | Bump package.json version from `v${{ steps.bump_version.outputs.old_version }}` to `v${{ steps.bump_version.outputs.new_version }}` commit-message: Bump package.json version to v${{ steps.bump_version.outputs.new_version }} branch: npm-version-bump base: master - +