mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-07-24 11:52:06 -05:00
fix(workflow): remove extra brace in update_version.yml (#11395)
This commit is contained in:
parent
2ece981dae
commit
2bc7166d4e
19
.github/workflows/update_version.yml
vendored
19
.github/workflows/update_version.yml
vendored
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user