This document outlines the process for creating a new BLT release.
To perform a release:
- Submit a pull request to Canary with BLT updated to HEAD.
- Update BLT to the tip of HEAD. This is the same commit from which you will cut your tag.
- Document update steps in
update.md
. Note any manual steps required and plan to add them to the BLT release notes (generated later).
- Ensure tests pass. Canary uses both Travis CI and Pipelines.
- Merge the pull request
-
Pull the latest BLT version to your local machine
git pull
. -
BLT's dependencies must be installed by running
composer install
in the BLT directory. -
If you don't have one, procure a github personal access token. Optionall save in a password vault for future use.
-
Determine the version of your future release, e.g., 9.1.0-alpha1.
-
To both generate release notes and also create a new draft release on GitHub, execute:
./vendor/bin/robo release [tag] [token]
-
Add any manual steps or notable changes to the release notes.
-
Click publish. Packagist is automatically updated.
In order for the composer create-project acquia/blt-project my-project
command to pull the latest version of BLT, the blt-project repo may need to be updated to point to the new release created in the BLT repo. Once packagist shows the latest release of BLT as being available, test the composer create-project process. If it loads the old version, you likely need to update the blt-project repo
- Update the
composer.json
file in the blt-project repo to require the latest version of acquia/blt. - Tag and release a new version of blt-project.