mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2025-09-04 10:32:01 +08:00
Fix header version bump (#207)
Signed-off-by: Ryan McCue <me@ryanmccue.info>
This commit is contained in:
parent
ddfc3c2483
commit
9709fde544
2 changed files with 2 additions and 2 deletions
2
.github/workflows/bump-version.yml
vendored
2
.github/workflows/bump-version.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue