Skip to content

Commit decd749

Browse files
Merge pull request #41 from newfold-labs/fix/version-mismatch
Fix Version Mismatch
2 parents 4c5b0e4 + 18385b8 commit decd749

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ An installer for WordPress plugins and themes.
2727

2828
## Releases
2929

30-
### 1. Bump Version
30+
### 1. Bump Version [IMPORTANT]
3131

32-
Update the module version in the `bootstrap.php` file (the NFD_INSTALLER_VERSION const).
32+
- Update the module version in the `includes/Data/Constants.php` file (the NFD_INSTALLER_VERSION const).
33+
- Update the module version in the `package.json and package-lock.json` file as well.
3334

3435
## Installation
3536

includes/Data/Constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Constants {
1515
*/
1616
public function __construct( $container ) {
1717
if ( ! defined( 'NFD_INSTALLER_VERSION' ) ) {
18-
define( 'NFD_INSTALLER_VERSION', '1.2.0' );
18+
define( 'NFD_INSTALLER_VERSION', '1.2.1' );
1919
}
2020
if ( ! defined( 'NFD_INSTALLER_BUILD_DIR' ) && defined( 'NFD_INSTALLER_VERSION' ) ) {
2121
define( 'NFD_INSTALLER_BUILD_DIR', dirname( __DIR__, 2 ) . '/build/' . NFD_INSTALLER_VERSION );

0 commit comments

Comments
 (0)