From 9709fde544609eb15459d4f7aeb3a6bb1b4c08e2 Mon Sep 17 00:00:00 2001 From: Ryan McCue Date: Thu, 31 Jul 2025 20:31:39 +0100 Subject: [PATCH] Fix header version bump (#207) Signed-off-by: Ryan McCue --- .github/workflows/bump-version.yml | 2 +- plugin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 7177c26..4ebf9ab 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -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 diff --git a/plugin.php b/plugin.php index bb413e4..cd88d6c 100644 --- a/plugin.php +++ b/plugin.php @@ -2,7 +2,7 @@ /** * Plugin Name: FAIR - Federated and Independent Repositories * Description: Make your site more FAIR. - * Version: 0.4.0 + * Version: 0.4.1 * Author: FAIR Contributors * License: GPLv2 * Requires at least: 5.4