Skip to content

Commit

Permalink
documenting various misses from 2.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottcwilson committed Apr 13, 2024
1 parent 13a67fe commit 8bddded
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
5 changes: 5 additions & 0 deletions content/dev/release_process/post_release.md
Expand Up @@ -68,6 +68,11 @@ A day or two after the build has been released when you're confident that all is

- Take some time to review the What's New and Changed Files documents in the [release folder](/release) to be sure they are complete.

## One more documentation check:
- Review the What’s New file for this release (Documentation site in /release/ folder.) Be sure it doesn't have any more statements like "*New Version* has not yet been released".
- Review the Changed Files list for this release (Documentation site in /release/ folder.) Same checks.


## Post-Release Things to Consider

- Is it time to remove old versions from the plugin version list?
Expand Down
10 changes: 5 additions & 5 deletions content/dev/release_process/pre_release_notes.md
Expand Up @@ -17,14 +17,14 @@ Before doing the version updates, create a new branch specifically for these cha

Here's what should be in these files for version 2.0.0-alpha1:

|#|File | Version
-|-----|--------
|#|File | Version |
-|-----|---------|
|1|`includes/version.php`| `define('PROJECT_VERSION_MINOR', '0.0-alpha1');`|
|2|`zc_install/includes/version.php`|`define('PROJECT_VERSION_MINOR', '0.0-alpha1');`|
|3|`zc_install/sql/install/mysql_zencart.sql`|`project_version_patch1` for the two `Zen-Cart Main` rows should be `New Installation-v200-alpha1`<br>`project_version_patch1` for the two `Zen-Cart Database` rows should be `New Installation-v200-alpha1`|
|4|`zc_install/sql/updates/mysql_upgrade_zencart_200.sql`|`project_version_comment` for the two version rows should be `Version Update 1.5.8->2.0.0-alpha1`|
|3|`zc_install/sql/install/mysql_zencart.sql`|`project_version_major` and `project_version_minor` for the two `Zen-Cart Main` rows should be `2` and `0.0`.<br>`project_version_patch1` for the two `Zen-Cart Database` rows should be `New Installation-v200-alpha1`<br><br>CHECK CAREFULLY - look at `project_version_major, project_version_minor, project_version_patch1,project_version_comment`|
|4|`zc_install/sql/updates/mysql_upgrade_zencart_200.sql`|`project_version_comment` for the two version rows should be `Version Update 1.5.8->2.0.0-alpha1`<br><br>CHECK CAREFULLY - look at `project_version_major, project_version_minor, project_version_patch1,project_version_comment`|
|5|`zc_install/includes/systemChecks.yml`|Top `checkDBVersion` block should be `version: '2.0.0'`|
|6|`zc_install/ajaxLoadUpdatesSql.php`|`'2.0.0'=>array('required'=>'1.5.8'),`|
|6|`zc_install/ajaxLoadUpdatesSql.php`|`'2.0.0'=>array('required'=>'1.5.8'),`||
|7|`zc_install/includes/modules/pages/database_upgrade/header_php.php`|`$versionArray[] = '2.0.0';`|

Shortcut for editing these 7 files:
Expand Down
20 changes: 10 additions & 10 deletions content/dev/release_process/prerequisites.md
Expand Up @@ -14,9 +14,9 @@ To run the release process, you must have the following:

- Admin access to the main Zen Cart website

- Admin access to the Version/Ping server (ping.zen-cart.com/dashboard).
- Admin access to the Server Manager (https://servermanager.zen-cart.com/)

- an up to date copy of both the branch that you are releasing (e.g. v158), and the `main` branch.
- an up to date copy of the master branch for Zen Cart.

- an up to date copy of the documentation repo.

Expand Down Expand Up @@ -51,17 +51,17 @@ Shortcut for editing these 7 files:
vi includes/version.php zc_install/includes/version.php zc_install/sql/install/mysql_zencart.sql zc_install/sql/updates/mysql_upgrade_zencart_200.sql zc_install/includes/systemChecks.yml zc_install/ajaxLoadUpdatesSql.php zc_install/includes/modules/pages/database_upgrade/header_php.php
```

Here's what should be in these files for version 1.5.8a:
Here's what should be in these files for version 2.0.0:

|#|File | Version
-|------|--------
|1|`includes/version.php`| `define('PROJECT_VERSION_MINOR', '5.8a');`|
|2|`zc_install/includes/version.php`|`define('PROJECT_VERSION_MINOR', '5.8a');`|
|3|`zc_install/sql/install/mysql_zencart.sql`|`project_version_patch1` for the two `Zen-Cart Main` rows should be `5.8a`<br>`project_version_patch1` for the two `Zen-Cart Database` rows should be `5.8`|
|4|`zc_install/sql/updates/mysql_upgrade_zencart_158.sql`|Same two changes as install script above|
|5|`zc_install/includes/systemChecks.yml`|Top `checkDBVersion` block should be `version: '1.5.8'`|
|6|`zc_install/ajaxLoadUpdatesSql.php`|`'1.5.8'=>array('required'=>'1.5.7'),`|
|7|`zc_install/includes/modules/pages/database_upgrade/header_php.php`|`$versionArray[] = '1.5.8';`|
|1|`includes/version.php`| `define('PROJECT_VERSION_MAJOR', '2');<br>define('PROJECT_VERSION_MINOR', '0.0');`|
|2|`zc_install/includes/version.php`|Same as above|
|3|`zc_install/sql/install/mysql_zencart.sql`|`project_version_major` and `project_version_minor` for the two `Zen-Cart Main` rows should be `2` and `0.0`.<br>`project_version_patch1` for the two `Zen-Cart Database` rows should be `New Installation-v200`<br><br>CHECK CAREFULLY - look at `project_version_major, project_version_minor, project_version_patch1,project_version_comment`|
|4|`zc_install/sql/updates/mysql_upgrade_zencart_200.sql`|`project_version_comment` for the two version rows should be `Version Update 1.5.8->2.0.0`<br><br>CHECK CAREFULLY - look at `project_version_major, project_version_minor, project_version_patch1,project_version_comment`|
|5|`zc_install/includes/systemChecks.yml`|Top `checkDBVersion` block should be `version: '2.0.0'`|
|6|`zc_install/ajaxLoadUpdatesSql.php`|`'2.0.0'=>array('required'=>'1.5.8'),`|
|7|`zc_install/includes/modules/pages/database_upgrade/header_php.php`|`$versionArray[] = '2.0.0';`|

There are other version related updates to do, but they're not part of the build, so they are detailed in [post release tasks](/dev/release_process/post_release/).

Expand Down

0 comments on commit 8bddded

Please sign in to comment.