Skip to content

Commit

Permalink
fix script reference
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 11, 2024
1 parent cff3fd0 commit cf03cb8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/update-version.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update Version
name: Update Version in Distributions and Prepare PR
on:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -27,7 +27,7 @@ on:
required: false
default: ''
create_pr:
description: 'Push changes to a new branch and create a draft pull request'
description: 'Create a draft pull request with the changes'
required: true
type: boolean
default: true
Expand All @@ -50,11 +50,12 @@ jobs:

- name: Run bump-versions.sh
run: |
chmod +x .github/workflows/scripts/bump-versions.sh && \
args=""
if [ "${{ github.event.inputs.create_pr }}" = "true" ]; then
args="--commit --pull-request"
fi
./bump-versions.sh $args
.github/workflows/scripts/bump-versions.sh \ $args
env:
current_beta_core: ${{ github.event.inputs.current_beta_core }}
current_beta_contrib: ${{ github.event.inputs.current_beta_contrib }}
Expand Down

0 comments on commit cf03cb8

Please sign in to comment.