Account for prefix in header bump

Signed-off-by: Ryan McCue <me@ryanmccue.info>
This commit is contained in:
Ryan McCue 2025-07-31 20:26:08 +01:00
parent ddfc3c2483
commit 5f362dedd9

View file

@ -18,7 +18,7 @@ jobs:
- name: Bump version
run: |
# Replace the "Version:" header in plugin.php
sed -i "s/^Version: .*/Version: ${{ inputs.version }}/" plugin.php
sed -i "s/^ \* Version: .*/ \* Version: ${{ inputs.version }}/" plugin.php
# Replace the VERSION const in plugin.php
sed -i "s/^const VERSION = '.*/const VERSION = '${{ inputs.version }}';/" plugin.php