Fix header version bump (#207)

Signed-off-by: Ryan McCue <me@ryanmccue.info>
This commit is contained in:
Ryan McCue 2025-07-31 20:31:39 +01:00 committed by GitHub
parent ddfc3c2483
commit 9709fde544
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -2,7 +2,7 @@
/** /**
* Plugin Name: FAIR - Federated and Independent Repositories * Plugin Name: FAIR - Federated and Independent Repositories
* Description: Make your site more FAIR. * Description: Make your site more FAIR.
* Version: 0.4.0 * Version: 0.4.1
* Author: FAIR Contributors * Author: FAIR Contributors
* License: GPLv2 * License: GPLv2
* Requires at least: 5.4 * Requires at least: 5.4