mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2025-09-04 08:50:35 +08:00
Account for prefix in header bump
Signed-off-by: Ryan McCue <me@ryanmccue.info>
This commit is contained in:
parent
ddfc3c2483
commit
5f362dedd9
1 changed files with 1 additions and 1 deletions
2
.github/workflows/bump-version.yml
vendored
2
.github/workflows/bump-version.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue