From a68b918bdf2fa68e7bdf97d49f97e89cf8efbe8c Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sun, 5 Jan 2020 09:27:18 +1100 Subject: [PATCH] Modify the plugin version using distmaker --- distmaker/dists/common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/distmaker/dists/common.sh b/distmaker/dists/common.sh index 0ae2ef8c62..c288a21086 100644 --- a/distmaker/dists/common.sh +++ b/distmaker/dists/common.sh @@ -190,6 +190,7 @@ function dm_install_wordpress() { ## Need --exclude=civicrm for self-building on WP site dm_preg_edit '/^Version: [0-9\.]+/m' "Version: $DM_VERSION" "$to/civicrm.php" + dm_preg_edit "/^define\( \'CIVICRM_PLUGIN_VERSION\',\W'[0-9\.]+/m" "define( 'CIVICRM_PLUGIN_VERSION', '$DM_VERSION" "$to/civicrm.php" } ## Generate the composer "vendor" folder -- 2.25.1