Skip to:
Content

BuddyPress.org

Changeset 13954


Ignore:
Timestamp:
07/07/2024 08:29:32 PM (9 months ago)
Author:
imath
Message:

Documentation: improve build checklist

  • Put 1 minor/major step at the right place
  • Update initial branch/trunk switches to take in account the fact we are branching earlier (RC1).

See #9204
Closes https://github.com/buddypress/buddypress/pull/327

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/contributor/project/release/build-checklist.md

    r13948 r13954  
    3030
    3131> [!IMPORTANT]
    32 > For major releases (eg: 12.0.0) or pre-releases (eg: 12.0.0-beta1 or 12.0.0-RC2), switch to: `/trunk/`.
     32> For beta-releases (eg: 12.0.0-beta1) and first release candidate, switch to: `/trunk/`.
    3333
    3434```bash
     
    3737
    3838> [!IMPORTANT]
    39 > For minor releases (eg: 12.1.0), switch to relative branch: `branches/12.0/`
     39> For major, minor and RC > 1 releases (eg: 12.1.0 or 12.0.0-RC2), switch to relative branch: `branches/12.0/`
    4040
    4141```bash
     
    46462. Change version in src/bp-loader.php (plugin header)
    47473. Change $this->version (setup_globals()) in class-buddypress.php
    48 4. Change stable-tag readme.txt (major and minor releases)
    49 6. Change version in package.json
    50 7. Use the latest version of npm and: npm install and then npm shrinkwrap
     484. Change version in package.json
     495. Use the latest version of npm and: npm install and then npm shrinkwrap
    5150
    5251> [!IMPORTANT]
    53 > The following two steps are only required when releasing a major or minor version.
     52> The following steps are only required when releasing a major or minor version.
    5453
    55 1. Change tested-up-to readme.txt
    56 2. Add “Upgrade Notice” & “Changelog” entries for this version in readme.txt (major and minor releases)
     541. Change stable-tag readme.txt
     552. Change tested-up-to readme.txt
     563. Add “Upgrade Notice” & “Changelog” entries for this version in readme.txt (major and minor releases)
    5757
    5858**Commit changes!**
     
    152152## Version Bumps (in `[dev]`)
    153153
    154 - If it's a major x.0.0 release, bump trunk version numbers to alpha in bp-loader.php (Y.0.0-alpha).
    155 - Bump relevant branch version numbers to alpha in bp-loader.php (x.1.0-alpha).
     154- If it's the first release candidate (eg: 12.0.0-RC1), bump trunk version numbers to alpha in bp-loader.php (14.0.0-alpha).
    156155- If it's a major or minor release, update `[dev]` trunk's `readme.txt` stable tag and Upgrade/Changelog informations using the `[wporg]` trunk's ones.
    157156
Note: See TracChangeset for help on using the changeset viewer.