Skip to content

Commit

Permalink
Merge pull request #41 from newfold-labs/fix/version-mismatch
Browse files Browse the repository at this point in the history
Fix Version Mismatch
  • Loading branch information
officiallygod authored Oct 25, 2024
2 parents 4c5b0e4 + 18385b8 commit decd749
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ An installer for WordPress plugins and themes.

## Releases

### 1. Bump Version
### 1. Bump Version [IMPORTANT]

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

## Installation

Expand Down
2 changes: 1 addition & 1 deletion includes/Data/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Constants {
*/
public function __construct( $container ) {
if ( ! defined( 'NFD_INSTALLER_VERSION' ) ) {
define( 'NFD_INSTALLER_VERSION', '1.2.0' );
define( 'NFD_INSTALLER_VERSION', '1.2.1' );
}
if ( ! defined( 'NFD_INSTALLER_BUILD_DIR' ) && defined( 'NFD_INSTALLER_VERSION' ) ) {
define( 'NFD_INSTALLER_BUILD_DIR', dirname( __DIR__, 2 ) . '/build/' . NFD_INSTALLER_VERSION );
Expand Down

0 comments on commit decd749

Please sign in to comment.