Check out a new release branch from main branch
git checkout -b prepare-0.1.1-release main
Build and Commit the docs for this version.
yarn build-docs
git add .
git commit -m "Build docs for 0.1.1."
- Update the version using the next sensible version.
yarn version --new-version 0.1.1
Push your branch to GitHub, create a PR and land it (this might require approval).
Make sure that the release notes draft created automatically by release-drafter is up to date.
Publish the latest release on Github with the new version number and add the release notes you created earlier.
This should happen automatically after publishing the release on GH (thanks to GH actions workflow).
In case it fails and you need to publish manually, here are manual steps:
Get a fresh copy of the main branch
git clone git@github.com:canonical/store-components.git store-components-release
Build and publish the package.
cd store-components-release
npm publish --access public
You should now see the new version on NPM