Skip to content
Snippets Groups Projects
5.x-rc.md 2.61 KiB
Newer Older
  • Learn to ignore specific revisions
  • totten's avatar
    totten committed
    # CiviCRM v5.x.0: Publish a release candidate
    
    
    ## Prerequisites
    
    totten's avatar
    totten committed
    
    
    See [Prerequisites](any-prereq.md)
    
    totten's avatar
    totten committed
    
    
    All commands need to run in a suitably configured environment.
    
    
    totten's avatar
    totten committed
    ## 1: Sanity checks
    
    * Note the original branch, such as `master`.
    * Note the intended version, such as `5.1` or `5.3`. (In the rest of this document, we'll refer to `5.X`, but `5.X` should be adjusted to circumstance.)
    
    totten's avatar
    totten committed
    * In Jenkins, review the scheduled tests for `master` and determine if anything should block the RC.
    
    totten's avatar
    totten committed
        * https://test.civicrm.org/job/CiviCRM-Core-Matrix/
        * https://test.civicrm.org/job/CiviCRM-Ext-Matrix/
    
    totten's avatar
    totten committed
        * https://test.civicrm.org/job/CiviCRM-E2E-Matrix/
    
    totten's avatar
    totten committed
        * https://test.civicrm.org/job/CiviCRM-D8-Matrix/
    
    totten's avatar
    totten committed
    
    
    totten's avatar
    totten committed
    ## 2: Update versions and create branches
    
    totten's avatar
    totten committed
    
    
    totten's avatar
    totten committed
    We will raise the version numbers and create branches on each CiviCRM repository.
    
    The script `givi wf:rc` performs the necessary updates:
    
    totten's avatar
    totten committed
    
    ```bash
    cd ~/src/master
    
    totten's avatar
    totten committed
    givi wf:rc
    
    totten's avatar
    totten committed
    ```
    
    
    totten's avatar
    totten committed
    > TIP: `givi` can provide a preview (`--dry-run` aka `-N`) or an interactive confirmation (`--step` aka `-S`).
    
    totten's avatar
    totten committed
    
    
    totten's avatar
    totten committed
    ## 3: Setup automated processes
    
    totten's avatar
    totten committed
    
    
    totten's avatar
    totten committed
    * Go to https://test.civicrm.org/job/CiviCRM-Core-Matrix/configure
        * In the list of `CIVIVER`s, remove any old RC's. Add the current RC. (ex: `4.6 5.X master`)
    
    totten's avatar
    totten committed
    * Go to https://test.civicrm.org/job/CiviCRM-Core-Matrix-Timing/configure
        * In the list of `CIVIVER`s, remove any old RC's. Add the current RC. (ex: `4.6 5.X master`)
    
    * Go to https://test.civicrm.org/job/CiviCRM-Core-Edge/configure
        * In the list of `CIVIVER`s, remove any old RC's. Add the current RC. (ex: `4.6 5.X master`)
    
    * Go to https://test.civicrm.org/job/CiviCRM-E2E-Edge/configure
        * In the list of `CIVIVER`s, remove any old RC's. Add the current RC. (ex: `4.6 5.X master`)
    
    totten's avatar
    totten committed
    * Go to https://test.civicrm.org/job/CiviCRM-Ext-Matrix/configure
        * In the list of `CIVIVER`s, remove any old RC's. Add the current RC. (ex: `4.6 5.X master`)
    
    totten's avatar
    totten committed
    * Go to https://test.civicrm.org/job/CiviCRM-E2E-Matrix/configure
        * In the list of `CIVIVER`s, remove any old RC's. Add the current RC. (ex: `4.6 5.X master`)
    
    totten's avatar
    totten committed
    * Go to https://test.civicrm.org/job/CiviCRM-D8-Matrix/configure
        * In the list of `CIVIVER`s, remove any old RC's. Add the current RC. (ex: `4.6 5.X master`)
    
    * Go to https://test.civicrm.org/job/CiviCRM-Publish-Schedule/configure
    
    totten's avatar
    totten committed
        * In the list of `branchNames`, remove any old RC's. Add the current RC. (ex: `master 4.6 5.X`)
    
    totten's avatar
    totten committed
       
    
    totten's avatar
    totten committed
    ## 4: Publish tarballs
    
    totten's avatar
    totten committed
    
    
    totten's avatar
    totten committed
    * Go to https://test.civicrm.org/job/CiviCRM-Publish/
    * Check to see if the new branch is being built automatically. If not:
        * Login (if you haven't already)
        * Click "Build with parameters"
        * For the branch name, enter your chosen `5.X`.