To create a new release of @deque/cauldron-react
and @deque/cauldron-styles
, follow the steps below.
- Open a new browser tab to https://github.com/dequelabs/cauldron/actions/workflows/create-release.yml
- Run the
workflow_dispatch
event from thedevelop
branch
This will create a release PR after the action has run successfully.
Once the release has been reviewed, merge the release branch into the master
branch.
# Ensure you have the latest `develop` code.
git checkout develop
git pull origin develop
git fetch --tags
yarn run release
This will automagically create the release PR in a new browser window.
Once the release has been reviewed, merge the release branch into the master
branch.
If a patch release is needed with only a few cherry-picked changes, follow the steps below:
$ git checkout develop
$ git pull origin develop
$ git checkout -b <name of branch>
$ git cherry-pick <git hashes>
$ git fetch --tags
$ yarn run release
This will automagically create the release PR in a new browser window.
Once the patch release has been reviewed, merge the release branch into the master
branch.
NOTE: Do not npm publish
yourself. CI will do this for you.